From: Jordan Justen Date: Mon, 28 Jul 2014 17:37:25 +0000 (+0000) Subject: EmulatorPkg: Add support for GCC48 & GCC49 toolchains X-Git-Tag: edk2-stable201903~11295 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=dc4ad1532e59fd1a185d6b90d1c2a92cf8713f40 EmulatorPkg: Add support for GCC48 & GCC49 toolchains Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15699 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EmulatorPkg/Unix/Host/Host.inf b/EmulatorPkg/Unix/Host/Host.inf index 814a8c38e8..dee2e0df23 100644 --- a/EmulatorPkg/Unix/Host/Host.inf +++ b/EmulatorPkg/Unix/Host/Host.inf @@ -127,6 +127,8 @@ GCC:*_GCC45_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" GCC:*_GCC46_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" GCC:*_GCC47_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" + GCC:*_GCC48_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" + GCC:*_GCC49_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" GCC:*_*_X64_PP_FLAGS == -m64 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h GCC:*_*_X64_ASM_FLAGS == -m64 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h diff --git a/EmulatorPkg/build.sh b/EmulatorPkg/build.sh index 67648f509a..fc8ae493cd 100755 --- a/EmulatorPkg/build.sh +++ b/EmulatorPkg/build.sh @@ -90,9 +90,15 @@ case `uname` in 4.6.*) TARGET_TOOLS=GCC46 ;; - 4.[789].*) + 4.7.*) TARGET_TOOLS=GCC47 ;; + 4.8.*) + TARGET_TOOLS=GCC48 + ;; + 4.9.*|4.1[0-9].*) + TARGET_TOOLS=GCC49 + ;; *) TARGET_TOOLS=GCC44 ;;