summaryrefslogtreecommitdiff
path: root/extra/firefox
diff options
context:
space:
mode:
Diffstat (limited to 'extra/firefox')
-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
+ '
+)"