qt5-webkit: reduce debug symbols for aarch64 builder
This commit is contained in:
parent
5dbfa681d1
commit
c2bd1af272
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# work around large debug symbols on 32-bit hosts
|
# 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 CFLAGS="${CFLAGS/-g/-g1}"
|
||||||
export CXXFLAGS="${CXXFLAGS/-g/-g1}"
|
export CXXFLAGS="${CXXFLAGS/-g/-g1}"
|
||||||
export LDFLAGS+=" -Wl,--no-keep-memory"
|
export LDFLAGS+=" -Wl,--no-keep-memory"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue