From c2bd1af2729be986b0fea5ccc42fc04bf1f95fc4 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 5 Apr 2020 21:39:57 +0200 Subject: [PATCH] qt5-webkit: reduce debug symbols for aarch64 builder --- srcpkgs/qt5-webkit/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"