From be14be1e7c88b18983e8df806cb41f43f5c6bd62 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Fri, 31 Aug 2018 11:26:51 +0200 Subject: [PATCH] Disable MinGW debug optimizations --- mkspecs/features/common_pre.prf | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/mkspecs/features/common_pre.prf b/mkspecs/features/common_pre.prf index abfa3753b..2ce084b5f 100644 --- a/mkspecs/features/common_pre.prf +++ b/mkspecs/features/common_pre.prf @@ -74,12 +74,9 @@ msvc:!llvm: QMAKE_CXXFLAGS *= /bigobj # No gigantic MinGW obj files ################################ -# If you get variables, optimized out during debugging, try to comment the first and uncomment -# the second line. This disables all debug optimizations. But be warned, that the build -# will take hours. - -win32-g++: CONFIG += optimize_debug -# win32-g++: QMAKE_CXXFLAGS *= -Wa,-mbig-obj +# To reduce the size of MinGW binaries, uncomment the first and comment the second line +# win32-g++: CONFIG += optimize_debug +win32-g++: QMAKE_CXXFLAGS *= -Wa,-mbig-obj ################################ # FSX or FS9 on 32bit Windows only