Skip to content

Commit

Permalink
EmulatorPkg: Add support for GCC48 & GCC49 toolchains
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jljusten2 authored and jljusten committed Jul 28, 2014
1 parent 595a5bc commit dc4ad15
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions EmulatorPkg/Unix/Host/Host.inf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 7 additions & 1 deletion EmulatorPkg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit dc4ad15

Please sign in to comment.