diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template index 0eeb4caa61e..4a4d0282dad 100644 --- a/srcpkgs/qt5-webkit/template +++ b/srcpkgs/qt5-webkit/template @@ -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"