diff --git a/mkspecs/features/common_pre.prf b/mkspecs/features/common_pre.prf index cc5413103..cc73e08d1 100644 --- a/mkspecs/features/common_pre.prf +++ b/mkspecs/features/common_pre.prf @@ -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 ################################