From fb99f386287ae64dcf88480b85de469dc2243bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 25 Feb 2021 04:18:05 +0100 Subject: [PATCH] mame: try to reduce impact on aarch64 builders --- srcpkgs/mame/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template index f636ba2db6..bc498d8286 100644 --- a/srcpkgs/mame/template +++ b/srcpkgs/mame/template @@ -52,6 +52,10 @@ if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then LDFLAGS+=" -Wl,--no-keep-memory" else _options+=" PTR64=1" + if [ "${XBPS_TARGET_MACHINE%-musl}" = "aarch64" ]; then + # Help to reduce impact on our aarch64 builders + LDFLAGS+=" -Wl,--no-keep-memory" + fi fi if [ "$build_option_qt" ]; then _options+=" USE_QTDEBUG=1"