From 9a7053b70f41639d72814d4cd3535e4823030079 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 3 Nov 2019 21:10:01 +0100 Subject: extra/firefox: disable lto --- extra/firefox/PKGBUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'extra/firefox/PKGBUILD') diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index c93b5028..c89c5052 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -133,3 +133,15 @@ eval "$( echo "/usr/lib/${pkgname}" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf \ ' )" + +# do not do profiling: it doesn't find libraries: +# "XPCOMGlueLoad error for file /build/firefox/src/firefox-70.0/obj-i686-pc-linux-gnu/dist/firefox/libxul.so: +#libmozsandbox.so: cannot open shared object file: No such file or directory +# Couldn't load XPCOM. +# ..or it will for sure run out of memory +eval "$( + declare -f build | \ + sed ' + /msg2 "Profiling instrumented browser..."/,/.\/mach build/d + ' +)" -- cgit v1.2.3-70-g09d2