path: root/mkspecs/features/win32
diff options
authorThiago Macieira <>2014-06-26 14:56:06 -0700
committerhjk <>2014-07-23 11:12:02 +0200
commit1bd27f24fb7f7d82f4b67cffe43e0af644709106 (patch)
tree4f35d7ed8bb0a9e5f7a4381e0b09f69414d8f9d5 /mkspecs/features/win32
parent849d1fece1da7136911464bc47439b4126145440 (diff)
Add link-time optimization support for Clang, GCC and ICC
GCC currently requires fat object files for static libraries, since the linker would otherwise not load the .o file from the archive at all and the linking would fail with a lot of undefined references. Clang on Linux also needs this, but it has no equivalent flag, so enabling LTCG for Clang on static libraries will result in linker error. This commit does not add support for enabling it in configure. It can be enabled on a per-project basis by doing CONFIG += ltcg or by passing -config ltcg to qmake's command-line. Change-Id: I52cf99f1ed9f1701e23a3b457ba3502fd28126ce Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'mkspecs/features/win32')
1 files changed, 0 insertions, 5 deletions
diff --git a/mkspecs/features/win32/ltcg.prf b/mkspecs/features/win32/ltcg.prf
deleted file mode 100644
index f6f1299f47..0000000000
--- a/mkspecs/features/win32/ltcg.prf
+++ /dev/null
@@ -1,5 +0,0 @@
-CONFIG(release, debug|release) {