summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/build.sh
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2016-12-06 12:03:25 +0000
committerLaszlo Ersek <lersek@redhat.com>2016-12-06 18:00:56 +0100
commit432f1d83f77acf92d52ef18d2cee6dbf7c5b9b86 (patch)
tree9d9d777ae15597cf5b495f114c558e381c646a50 /OvmfPkg/build.sh
parent6ad157c3faac58fb923b3345dd2479ea4599e234 (diff)
downloadedk2-432f1d83f77acf92d52ef18d2cee6dbf7c5b9b86.tar.gz
edk2-432f1d83f77acf92d52ef18d2cee6dbf7c5b9b86.tar.bz2
edk2-432f1d83f77acf92d52ef18d2cee6dbf7c5b9b86.zip
OvmfPkg/build.sh: Use GCC49 toolchains with GCC 6.[0-2]
The goal of the patch is to avoid using -flto with GCC 6.0 to 6.2. This is to workaround a GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/build.sh')
-rwxr-xr-xOvmfPkg/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
index 95fe8fb076..b6e936056c 100755
--- a/OvmfPkg/build.sh
+++ b/OvmfPkg/build.sh
@@ -102,7 +102,7 @@ case `uname` in
4.8.*)
TARGET_TOOLS=GCC48
;;
- 4.9.*)
+ 4.9.*|6.[0-2].*)
TARGET_TOOLS=GCC49
;;
*)