mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
telegram-desktop: reduce debug size
Fixes error on armv* glibc: armv7l-linux-gnueabihf-objcopy: /destdir/armv7l-linux-gnueabihf/telegram-desktop-4.16.8/usr/bin/telegram-desktop: file format not recognized This decreases the debug executable on armv7l glibc from 4.3gb to 1.5gb.
This commit is contained in:
parent
0edfff8f71
commit
07464d8375
1 changed files with 6 additions and 0 deletions
|
@ -43,3 +43,9 @@ fi
|
||||||
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
||||||
broken="UI doesn't go beyond initial screen, also LE specific code in networking"
|
broken="UI doesn't go beyond initial screen, also LE specific code in networking"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# Significantly decrease size of debug executable
|
||||||
|
CFLAGS="${CFLAGS/ -g/ -g1}"
|
||||||
|
CXXFLAGS="${CXXFLAGS/ -g/ -g1}"
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue