From bce64098f397728c17ed23caaf4144194c9dba4b Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 12 Apr 2017 22:40:52 +0200 Subject: [PATCH] qt5: always use -Wl,--no-keep-memory RAM doesn't grow on trees, and time we have plenty. --- srcpkgs/qt5/template | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template index 97e6708dcf9..e810f6dd4fd 100644 --- a/srcpkgs/qt5/template +++ b/srcpkgs/qt5/template @@ -231,11 +231,8 @@ do_configure() { # opts+=" -silent" opts+=" -v" - if [ -z "$CROSS_BUILD" ]; then - if [ "${XBPS_MACHINE%%-musl}" = i686 ]; then - LDFLAGS+=" -Wl,--no-keep-memory" # else OOM on 32-bit - fi - else + LDFLAGS+=" -Wl,--no-keep-memory" # needs more than 8GB RAM else + if [ -n "$CROSS_BUILD" ]; then spec=void-${XBPS_CROSS_TRIPLET}-g++ _create_config ${spec} opts+=" -device ${spec}"