summaryrefslogtreecommitdiff
path: root/EmulatorPkg
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-07-28 17:37:25 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-07-28 17:37:25 +0000
commitdc4ad1532e59fd1a185d6b90d1c2a92cf8713f40 (patch)
tree9f39fe6923f5cd428fe58d0ab394e69f971a03c1 /EmulatorPkg
parent595a5bc928d403325593f66771770fe45cf744b2 (diff)
downloadedk2-platforms-dc4ad1532e59fd1a185d6b90d1c2a92cf8713f40.tar.xz
EmulatorPkg: Add support for GCC48 & GCC49 toolchains
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15699 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmulatorPkg')
-rw-r--r--EmulatorPkg/Unix/Host/Host.inf2
-rwxr-xr-xEmulatorPkg/build.sh8
2 files changed, 9 insertions, 1 deletions
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
;;