mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
5d4a0dbc91
commit
526cafb5fe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue