diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-02-12 20:37:07 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-02-12 20:37:07 +0100 |
commit | d7a5994a5b9ec12106b63649755e0e92e037dcc2 (patch) | |
tree | 9b10f91cc832895e38f5f4480d1f67e29bb29607 /extra/thunderbird | |
parent | f34efd6d1651149a43361c17f10a242fe9bdd5d8 (diff) | |
download | packages-d7a5994a5b9ec12106b63649755e0e92e037dcc2.tar.xz |
extra/thunderbird: trying to get away with less debug symbols
Diffstat (limited to 'extra/thunderbird')
-rw-r--r-- | extra/thunderbird/PKGBUILD | 5 |
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}" ' )" |