summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-06-26 14:56:06 -0700
committerhjk <hjk121@nokiamail.com>2014-07-23 11:12:02 +0200
commit1bd27f24fb7f7d82f4b67cffe43e0af644709106 (patch)
tree4f35d7ed8bb0a9e5f7a4381e0b09f69414d8f9d5 /src/tools
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 <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions