summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-11-22 20:31:16 -0800
committerThiago Macieira <thiago.macieira@intel.com>2014-12-01 21:33:21 +0100
commit2b258dc80b34dc785257efa2292457e32da9408d (patch)
treee2cc873c171820e3fcbd9a046ae0dff412b8e0fc /mkspecs
parent799f83fc9a5e11194ae56e9d13cd6eb45f2aea24 (diff)
downloadqtbase-2b258dc80b34dc785257efa2292457e32da9408d.tar.gz
qtbase-2b258dc80b34dc785257efa2292457e32da9408d.tar.bz2
qtbase-2b258dc80b34dc785257efa2292457e32da9408d.zip
Make sure plugins under LTCG get the right flags too.
Change-Id: I51384b4c3ceca25b6e010ccf67fa0f1995cfa557 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/ltcg.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/ltcg.prf b/mkspecs/features/ltcg.prf
index b418135014..1459ccdc40 100644
--- a/mkspecs/features/ltcg.prf
+++ b/mkspecs/features/ltcg.prf
@@ -41,10 +41,12 @@ CONFIG(release, debug|release) {
QMAKE_LFLAGS_LTCG += $$QMAKE_CFLAGS $$QMAKE_CFLAGS_LTCG
QMAKE_LFLAGS_APP += $$QMAKE_CFLAGS_APP
QMAKE_LFLAGS_SHLIB += $$QMAKE_CFLAGS_SHLIB
+ QMAKE_LFLAGS_PLUGIN += $$QMAKE_CFLAGS_SHLIB
} else {
QMAKE_LFLAGS_LTCG = $$QMAKE_CXXFLAGS $$QMAKE_LFLAGS_LTCG
QMAKE_LFLAGS_APP += $$QMAKE_CXXFLAGS_APP
QMAKE_LFLAGS_SHLIB += $$QMAKE_CXXFLAGS_SHLIB
+ QMAKE_LFLAGS_PLUGIN += $$QMAKE_CFLAGS_SHLIB
}
}