summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Franzmann2010-08-04 19:57:18 +0200
committerGeorge Sherwood2010-09-12 14:01:38 -0500
commit8b83090d628105027b6f0cdac86d610d54a7e633 (patch)
tree7744d97b06ca51005705473192684349c057ae90
parent22242d3a44dde3640121b5874ee75ac75622f541 (diff)
http/firefox: forced optimizations to -O2 to prevent segfault
(cherry picked from commit fc8bcc6c526e3561041fa2602b02a89d9ce6fcd6)
-rwxr-xr-xhttp/firefox/BUILD3
-rw-r--r--http/firefox/HISTORY5
2 files changed, 7 insertions, 1 deletions
diff --git a/http/firefox/BUILD b/http/firefox/BUILD
index b34288ebdb..98b8d2aeb7 100755
--- a/http/firefox/BUILD
+++ b/http/firefox/BUILD
@@ -13,6 +13,8 @@ fi &&
#
# No fast optimization for Mozilla, bit us so many times...
#
+CFLAGS="${CFLAGS//-Os/-O2}" &&
+CXXFLAGS="${CXXFLAGS//-Os/-O2}" &&
CFLAGS="${CFLAGS//-O3/-O2}" &&
CXXFLAGS="${CXXFLAGS//-O3/-O2}" &&
@@ -29,6 +31,7 @@ fi &&
# necko-wifi is part of xulrunner if enabled, but firefox
# compile fails without wireless_tools without this option
echo ac_add_options --disable-necko-wifi >> .mozconfig &&
+echo ac_add_options --enable-optimize=-O2 >> .mozconfig &&
make_single &&
make -f client.mk build &&
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 5271d4bb2d..ae5d2292d0 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,5 +1,8 @@
+2010-08-04 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * BUILD: forced optimizations to -O2 to prevent segfault
+
2010-07-27 George Sherwood <gsherwood@sourcemage.org>
- * DETAILS: Updated deve to version 4.0b2
+ * DETAILS: Updated devel to version 4.0b2
2010-07-25 George Sherwood <gsherwood@sourcemage.org>
* DETAILS: Updated devel to version 4.0b1