summaryrefslogtreecommitdiff
path: root/newmoon/newmoon-mozconfig
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-11-10 13:33:56 -0500
committerB. Stack <bgstack15@gmail.com>2021-11-10 13:33:56 -0500
commitcb03c7512fdace562be98d02c5eaeda0e1b80d16 (patch)
tree23d949e5eeafd05e8b40f20c367460036fa907d7 /newmoon/newmoon-mozconfig
parentnewmoon: experiment with LTO and disable-gold, rpm (diff)
downloadstackrpms-cb03c7512fdace562be98d02c5eaeda0e1b80d16.tar.gz
stackrpms-cb03c7512fdace562be98d02c5eaeda0e1b80d16.tar.bz2
stackrpms-cb03c7512fdace562be98d02c5eaeda0e1b80d16.zip
disable lto for RHEL7
Diffstat (limited to 'newmoon/newmoon-mozconfig')
-rw-r--r--newmoon/newmoon-mozconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/newmoon/newmoon-mozconfig b/newmoon/newmoon-mozconfig
index 04fd1cc..8cb2cdb 100644
--- a/newmoon/newmoon-mozconfig
+++ b/newmoon/newmoon-mozconfig
@@ -49,9 +49,10 @@ ac_add_options --disable-sync
ac_add_options --disable-personas
export MOZ_PKG_SPECIAL=gtk2
-# experimental for linker and LTO stuff
+# START EXPERIMENT1 experimental for linker and LTO stuff
export CFLAGS="${CFLAGS} -flto=$(nproc)"
export CXXFLAGS="${CXXFLAGS} -flto=$(nproc)"
export LDFLAGS="${LDFLAGS} -Wl,-z,norelro"
ac_add_options --disable-elf-hack
ac_add_options --disable-gold
+# END EXPERIMENT1
bgstack15