summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-03 21:10:01 +0100
committerErich Eckner <git@eckner.net>2019-11-03 21:10:01 +0100
commit9a7053b70f41639d72814d4cd3535e4823030079 (patch)
tree79a15a129d18c951d39611dade80ed083a90be16 /extra
parent0dcabd431ba63a4ef575b6e8687d1a88426f7696 (diff)
downloadpackages-9a7053b70f41639d72814d4cd3535e4823030079.tar.xz
extra/firefox: disable lto
Diffstat (limited to 'extra')
-rw-r--r--extra/firefox/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
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
+ '
+)"