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
@ -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…
x
Reference in New Issue
Block a user