From a49c801570c796694bd0d8d992e839d1d9b750b8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 10 Feb 2019 21:34:18 +0100 Subject: extra/firefox: -fno-lto patch for C++ code (trial) --- extra/firefox/PKGBUILD | 2 +- extra/firefox/mozconfig.patch | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'extra/firefox') 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 -- cgit v1.2.3