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