qt5: use --no-keep-memory on 32-bit builds.

This commit is contained in:
Christian Neukirchen 2016-06-14 14:10:21 +02:00
parent 4441226386
commit c49344b1d1

View file

@ -121,6 +121,11 @@ do_configure() {
*) opts+=" -reduce-relocations"
;;
esac
if [ "${XBPS_MACHINE%%-musl}" = i686 ]; then
LDFLAGS+=" -Wl,--no-keep-memory" # else OOM on 32-bit
fi
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
QMAKE_LFLAGS="${LDFLAGS}" \