summaryrefslogtreecommitdiff
path: root/newmoon/debian/mozconfig
diff options
context:
space:
mode:
Diffstat (limited to 'newmoon/debian/mozconfig')
-rw-r--r--newmoon/debian/mozconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/newmoon/debian/mozconfig b/newmoon/debian/mozconfig
index 47cd6ec..967a2bc 100644
--- a/newmoon/debian/mozconfig
+++ b/newmoon/debian/mozconfig
@@ -70,6 +70,12 @@ ac_add_options --x-libraries=/usr/lib
# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread)
# Debian Sid/Devuan Ceres; 2020-07 only -j1 works due to a bug.
-mk_add_options MOZ_MAKE_FLAGS="-j1"
+# 2021-11 try -j$(nproc) again
+mk_add_options MOZ_MAKE_FLAGS="-j$(nproc)"
export MOZ_PKG_SPECIAL=gtk2
+# Experimental
+export CFLAGS="${CFLAGS} -flto=$(nproc)"
+export CXXFLAGS="${CXXFLAGS} -flto=$(nproc)"
+export LDFLAGS="${LDFLAGS} -Wl,-z,norelro"
+ac_add_options --disable-elf-hack
bgstack15