diff options
author | Christophe Giboudeaux <christophe@krop.fr> | 2021-01-12 12:31:10 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-13 19:34:33 +0000 |
commit | 133e989cee5b4e3b32afa10618d700c0590a9c63 (patch) | |
tree | 140ce83c3b3902b12c809a6b3a6b291b238c26a3 /LICENSE.QT-LICENSE-AGREEMENT | |
parent | 3f2b5fdf48e32ee01bcc1154adef5b3c530fb9bc (diff) |
CMake: Fix build with GCC and ltcg
The porting script could not handle this special case.
To achieve the same thing, we'll use an intermediate 'OBJECT' library
which will get the '-fno-lto' build flag if the conditions are met.
Fixes: QTBUG-89426
Change-Id: Ied62502ce9c7f7fd6b89fab166f7bccfcd6e7433
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 2d4a40f93fd3f0fd31110ef7d19a12fc56c00967)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'LICENSE.QT-LICENSE-AGREEMENT')
0 files changed, 0 insertions, 0 deletions