qt5: always use -Wl,--no-keep-memory
RAM doesn't grow on trees, and time we have plenty.
This commit is contained in:
parent
c4d7fbabdd
commit
bce64098f3
1 changed files with 2 additions and 5 deletions
|
@ -231,11 +231,8 @@ do_configure() {
|
||||||
# opts+=" -silent"
|
# opts+=" -silent"
|
||||||
opts+=" -v"
|
opts+=" -v"
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
LDFLAGS+=" -Wl,--no-keep-memory" # needs more than 8GB RAM else
|
||||||
if [ "${XBPS_MACHINE%%-musl}" = i686 ]; then
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
LDFLAGS+=" -Wl,--no-keep-memory" # else OOM on 32-bit
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
spec=void-${XBPS_CROSS_TRIPLET}-g++
|
spec=void-${XBPS_CROSS_TRIPLET}-g++
|
||||||
_create_config ${spec}
|
_create_config ${spec}
|
||||||
opts+=" -device ${spec}"
|
opts+=" -device ${spec}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue