summaryrefslogtreecommitdiff
path: root/makepkg.conf.firefox
diff options
context:
space:
mode:
Diffstat (limited to 'makepkg.conf.firefox')
-rw-r--r--makepkg.conf.firefox4
1 files changed, 3 insertions, 1 deletions
diff --git a/makepkg.conf.firefox b/makepkg.conf.firefox
index f54b8bb..70ce388 100644
--- a/makepkg.conf.firefox
+++ b/makepkg.conf.firefox
@@ -37,9 +37,11 @@ CHOST="x86_64-pc-linux-gnu"
#-- Compiler and Linker Flags
CPPFLAGS="-D_FORTIFY_SOURCE"
+
+# # cargo contained in firefox 68 breaks if -flto is set here
CFLAGS="-march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fstack-protector-strong -fstack-clash-protection -Wno-error=odr -Wno-error=stringop-overflow -Walloc-size-larger-than=$(getconf ULONG_MAX)"
CXXFLAGS="-march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fstack-protector-strong -fstack-clash-protection -Wno-error=odr -Wno-error=stringop-overflow -Walloc-size-larger-than=$(getconf ULONG_MAX)"
-LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
+LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now,-fuse-ld=gold"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j4"
#-- Debugging flags