Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-21 10:11:03 +0100
committerErich Eckner <git@eckner.net>2019-01-21 10:11:03 +0100
commit250a3c2cbfd9a5b1ec17b6d5b9d5bf2c5949b6ab (patch)
tree48355a6e5a9217837376c2aaca402c72f217dc20 /extra/firefox/PKGBUILD
parent38f945d190be4e07b1613a42536b85b513658006 (diff)
parentd1ca62e03b8427d4c3e8bad6350df4321c3951d2 (diff)
Merge branch 'master' into i486
Diffstat (limited to 'extra/firefox/PKGBUILD')
-rw-r--r--extra/firefox/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD
index 81c26086..f886c6af 100644
--- a/extra/firefox/PKGBUILD
+++ b/extra/firefox/PKGBUILD
@@ -1,12 +1,15 @@
+source+=('mozconfig.patch')
+sha256sums+=('a9f99789801106d82ec48839d25c0b3358f6641a55d20b4d686f10197b14322d')
eval "$(
declare -f build | \
sed '
- /cd mozilla-unified/a sed -i "s/\\(cargo_rustc_flags += -C lto\\)/#\\1/" config/rules.mk
+ 2 a export RUSTFLAGS+=" -Cdebuginfo=0 -Clto=off"
+ 2 a export LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
'
declare -f prepare | \
sed '
$ i export MOZ_SOURCE_CHANGESET="DEVEDITION_${pkgver//./_}_RELEASE"
- $ i LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+ $ i patch -p1 -i "$srcdir/mozconfig.patch"
'
)"
for ((i=0; i<${#source[@]}; i++)); do