Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
Windows cmd with mingw(-w32/w64)
-
1bd27f24fb7f7d82f4b67cffe43e0af644709106
Description
When you run configure with -ltcg as an option and build for MSVC, you get the option enabled when building Qt. Although GCC also has a comparable option (-flto), it does not get enabled. The gcc flag needs to be enabled when building each *.c or *.cpp file and at link time.