Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-02-10 21:34:18 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-02-10 21:34:18 +0100
commita49c801570c796694bd0d8d992e839d1d9b750b8 (patch)
tree6b8bf475654508681c6d9daf50b2076a39c79dd7
parent46cc76f2f00568b9e14e4d90fc82bf348f679c3d (diff)
extra/firefox: -fno-lto patch for C++ code (trial)
-rw-r--r--extra/firefox/PKGBUILD2
-rw-r--r--extra/firefox/mozconfig.patch5
2 files changed, 4 insertions, 3 deletions
diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD
index f886c6af..bb213f74 100644
--- a/extra/firefox/PKGBUILD
+++ b/extra/firefox/PKGBUILD
@@ -1,5 +1,5 @@
source+=('mozconfig.patch')
-sha256sums+=('a9f99789801106d82ec48839d25c0b3358f6641a55d20b4d686f10197b14322d')
+sha256sums+=('4f94ab5e8442a032edfd457ac5d4a2d237db0093906c97e82436af56e0500b52')
eval "$(
declare -f build | \
sed '
diff --git a/extra/firefox/mozconfig.patch b/extra/firefox/mozconfig.patch
index d36e5532..8d1f66c5 100644
--- a/extra/firefox/mozconfig.patch
+++ b/extra/firefox/mozconfig.patch
@@ -1,15 +1,16 @@
--- a/.mozconfig 2019-01-21 09:21:00.221010326 +0100
+++ b/.mozconfig 2019-01-21 09:22:02.477911431 +0100
-@@ -6,12 +6,11 @@
+@@ -5,12 +7,11 @@
ac_add_options --enable-optimize
ac_add_options --enable-rust-simd
- ac_add_options --enable-lto
+-ac_add_options --enable-lto
-export MOZ_PGO=1
-export CC=clang
-export CXX=clang++
-export AR=llvm-ar
-export NM=llvm-nm
-export RANLIB=llvm-ranlib
++ac_add_options --disable-lto
+export CC=gcc
+export CXX=g++
+export AR=gcc-ar