qt5: use --no-keep-memory on 32-bit builds.
This commit is contained in:
parent
4441226386
commit
c49344b1d1
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue