qt5: use --no-keep-memory on 32-bit builds.
This commit is contained in:
parent
4441226386
commit
c49344b1d1
|
@ -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}" \
|
||||
|
|
Loading…
Reference in New Issue