summaryrefslogtreecommitdiffstats
path: root/http/firefox/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'http/firefox/BUILD')
-rwxr-xr-xhttp/firefox/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/firefox/BUILD b/http/firefox/BUILD
index 1f2ae04a5f..2f44956064 100755
--- a/http/firefox/BUILD
+++ b/http/firefox/BUILD
@@ -21,7 +21,7 @@ CXXFLAGS="${CXXFLAGS//-ffast-math/}" &&
# Avoid buggy GCC 4.6 AVX code generation, which breaks libxul
#
local gccver=$(gcc -dumpversion)
-if [ ${gccver%.*} = 4.6 ]; then
+if [ ${gccver%.*} = 4.6 ] || [ ${gccver%.*} = 4.7 ]; then
CFLAGS="${CFLAGS//-mavx} -mno-avx"
CXXFLAGS="${CXXFLAGS//-mavx} -mno-avx"
fi