Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/thunderbird
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-02-12 20:37:07 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-02-12 20:37:07 +0100
commitd7a5994a5b9ec12106b63649755e0e92e037dcc2 (patch)
tree9b10f91cc832895e38f5f4480d1f67e29bb29607 /extra/thunderbird
parentf34efd6d1651149a43361c17f10a242fe9bdd5d8 (diff)
extra/thunderbird: trying to get away with less debug symbols
Diffstat (limited to 'extra/thunderbird')
-rw-r--r--extra/thunderbird/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD
index b08b000a..77cf9b4b 100644
--- a/extra/thunderbird/PKGBUILD
+++ b/extra/thunderbird/PKGBUILD
@@ -1,9 +1,12 @@
+# -g1 from VoidLinux, reduce size of debug symbols
eval "$(
declare -f prepare | \
sed '
/sed/ a \
sed -i "s/ac_add_options --enable-linker=gold/ac_add_options --enable-linker=bfd/" .mozconfig
- $ i LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+ $ i export LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+ $ i export CFLAGS="${CFLAGS/-g/-g1}"
+ $ i export CXXFLAGS="${CXXFLAGS/-g/-g1}"
'
)"