Handle addresses larger than 2 GB for MinGW builds

Before this commit, the default memory limit was around 2 GB and
our MinGW built executables hit this limit. Swift and all 3rd party
libraries are 64 bit safe, so it is also safe to use the
large-address-aware linker flag. This allows memory allocation up
to 4 GB.

refs #788
This commit is contained in:
Roland Winklmeier
2016-11-07 16:31:10 +01:00
committed by Klaus Basan
parent c9ddb2ba39
commit ffa0b503a8

View File

@@ -98,6 +98,12 @@ linux-g++: QMAKE_LFLAGS_DEBUG *= -rdynamic
include(warnings.pri)
################################
# Handle addresses larger than 2GB
################################
win32-g++: QMAKE_LFLAGS *= -Wl,--large-address-aware
################################
# Path to external dependencies
################################