qt5-webkit: reduce debug symbols for aarch64 builder

This commit is contained in:
John 2020-04-05 21:39:57 +02:00
parent 5dbfa681d1
commit c2bd1af272
No known key found for this signature in database
GPG key ID: 5FDE97AF468A09B7

View file

@ -54,7 +54,8 @@ esac
pre_configure() {
# work around large debug symbols on 32-bit hosts
if [ "$XBPS_WORDSIZE" = "32" ]; then
# build on aarch64 builders does get killed for oom
if [ "$XBPS_WORDSIZE" = "32" ] || [ "$XBPS_TARGET_MACHINE" = "aarch64" ]; then
export CFLAGS="${CFLAGS/-g/-g1}"
export CXXFLAGS="${CXXFLAGS/-g/-g1}"
export LDFLAGS+=" -Wl,--no-keep-memory"