summaryrefslogtreecommitdiff
path: root/extra
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
parentf34efd6d1651149a43361c17f10a242fe9bdd5d8 (diff)
downloadpackages-d7a5994a5b9ec12106b63649755e0e92e037dcc2.tar.xz
extra/thunderbird: trying to get away with less debug symbols
Diffstat (limited to 'extra')
-rw-r--r--extra/thunderbird/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD
index b08b000..77cf9b4 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}"
'
)"