summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/win32/ltcg.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/win32/ltcg.prf')
-rw-r--r--mkspecs/features/win32/ltcg.prf5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/win32/ltcg.prf b/mkspecs/features/win32/ltcg.prf
new file mode 100644
index 0000000..f6f1299
--- /dev/null
+++ b/mkspecs/features/win32/ltcg.prf
@@ -0,0 +1,5 @@
+CONFIG(release, debug|release) {
+ QMAKE_CFLAGS *= $$QMAKE_CFLAGS_LTCG
+ QMAKE_CXXFLAGS *= $$QMAKE_CXXFLAGS_LTCG
+ QMAKE_LFLAGS *= $$QMAKE_LFLAGS_LTCG
+}