summaryrefslogtreecommitdiff
path: root/UnixPkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-30 06:48:48 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-30 06:48:48 +0000
commit526cafb5fe0f8c9664123c21ef5ba70b230092b9 (patch)
treedcc9872dffabc05eae42e7bde805402bd41f656d /UnixPkg
parent5d4a0dbc91d4e25002a2c35a3b9b5c3edfb284c2 (diff)
downloadedk2-platforms-526cafb5fe0f8c9664123c21ef5ba70b230092b9.tar.xz
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
Diffstat (limited to 'UnixPkg')
-rw-r--r--UnixPkg/Sec/SecMain.inf2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnixPkg/Sec/SecMain.inf b/UnixPkg/Sec/SecMain.inf
index 67d2178cc8..fc1dd1c33d 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