summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-13 17:06:49 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-13 17:06:49 +0000
commit743094a2898ed8a1f07e770f50cd2d3081be2c0f (patch)
tree7fbb83928f8292b0d5e0d63810a768ad31e601d0
parent35cfa92c5a79f645279b4f4c700bae2f69de961b (diff)
downloadedk2-743094a2898ed8a1f07e770f50cd2d3081be2c0f.tar.gz
edk2-743094a2898ed8a1f07e770f50cd2d3081be2c0f.tar.bz2
edk2-743094a2898ed8a1f07e770f50cd2d3081be2c0f.zip
OvmfPkg: Support GCC47 toolchain
When GCC >= 4.7 is detected, use the GCC47 toolchain. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> [jordan.l.justen@intel.com: reword commit message for OvmfPkg] Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13630 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-xOvmfPkg/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
index 799dd2b093..61b3ff85c1 100755
--- a/OvmfPkg/build.sh
+++ b/OvmfPkg/build.sh
@@ -76,6 +76,9 @@ case `uname` in
4.6.*)
TARGET_TOOLS=GCC46
;;
+ 4.[789].*)
+ TARGET_TOOLS=GCC47
+ ;;
*)
TARGET_TOOLS=GCC44
;;