From 526cafb5fe0f8c9664123c21ef5ba70b230092b9 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 30 Jul 2010 06:48:48 +0000 Subject: Add -m32 option for IA32 ASM flag to ensure it is treated as 32-bit for GCC assembler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10718 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/Sec/SecMain.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UnixPkg/Sec') diff --git a/UnixPkg/Sec/SecMain.inf b/UnixPkg/Sec/SecMain.inf index 67d2178..fc1dd1c 100644 --- a/UnixPkg/Sec/SecMain.inf +++ b/UnixPkg/Sec/SecMain.inf @@ -85,7 +85,7 @@ GCC:*_*_*_DLINK2_FLAGS == -lc GCC:*_*_IA32_CC_FLAGS == -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -idirafter/usr/include -c -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings GCC:*_*_IA32_PP_FLAGS == -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h - GCC:*_*_IA32_ASM_FLAGS == -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h + GCC:*_*_IA32_ASM_FLAGS == -m32 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h # # Need to do this link via gcc and not ld as the pathing to libraries changes from OS version to OS version -- cgit v1.1