diff options
author | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-05 15:57:29 +0000 |
---|---|---|
committer | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-05 15:57:29 +0000 |
commit | 6abf46d184b484e397f2babcaa07d72805115553 (patch) | |
tree | 7501b01248c9fc0bf592b7f0decf27d1e81bb51a /Tools/Conf/tools_def.template | |
parent | 705d3a7756079af808cc414544782f070443b887 (diff) | |
download | edk2-platforms-6abf46d184b484e397f2babcaa07d72805115553.tar.xz |
Add compiler flags for UNIXGCC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1671 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Conf/tools_def.template')
-rw-r--r-- | Tools/Conf/tools_def.template | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/Conf/tools_def.template b/Tools/Conf/tools_def.template index 7bd96f848a..76903ba684 100644 --- a/Tools/Conf/tools_def.template +++ b/Tools/Conf/tools_def.template @@ -259,6 +259,11 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF *_UNIXGCC_IA32_ASM_NAME = gcc
*_UNIXGCC_IA32_PP_NAME = gcc
+*_UNIXGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
+*_UNIXGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}
+*_UNIXGCC_IA32_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
+*_UNIXGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
+
*_UNIXGCC_IA32_ASM_EXT = .S
*_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
|