sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (416645109a3858772005fbdae6c7bd8ec5f9f817)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (416645109a3858772005fbdae6c7bd8ec5f9f817)
- Date: Wed, 22 Aug 2012 10:30:49 -0500
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
http/firefox/BUILD | 11 ++++++++++-
http/firefox/HISTORY | 3 +++
2 files changed, 13 insertions(+), 1 deletion(-)
New commits:
commit 416645109a3858772005fbdae6c7bd8ec5f9f817
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
firefox: Avoid buggy GCC 4.6 AVX code generation
diff --git a/http/firefox/BUILD b/http/firefox/BUILD
index e7cd074..1f2ae04 100755
--- a/http/firefox/BUILD
+++ b/http/firefox/BUILD
@@ -16,7 +16,16 @@ CXXFLAGS="${CXXFLAGS//-O3/-O2}" &&
#
CFLAGS="${CFLAGS//-ffast-math/}" &&
CXXFLAGS="${CXXFLAGS//-ffast-math/}" &&
-
+
+#
+# Avoid buggy GCC 4.6 AVX code generation, which breaks libxul
+#
+local gccver=$(gcc -dumpversion)
+if [ ${gccver%.*} = 4.6 ]; then
+ CFLAGS="${CFLAGS//-mavx} -mno-avx"
+ CXXFLAGS="${CXXFLAGS//-mavx} -mno-avx"
+fi
+
echo ac_add_options --enable-optimize=-O2 >> .mozconfig &&
make_single &&
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 0c87bd4..3b15a3b 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,6 @@
+2012-08-22 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD: Avoid buggy GCC 4.6 AVX code generation
+
2012-07-18 Pol Vinogradov <vin.public AT gmail.com>
* DETAILS: 14.0.1, SECURITY_PATCH=51
* PRE_BUILD, installer.patch: added fix for
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (416645109a3858772005fbdae6c7bd8ec5f9f817), Ismael Luceno, 08/22/2012
Archive powered by MHonArc 2.6.24.