diff options
author | Christophe Giboudeaux <christophe@krop.fr> | 2021-01-12 12:31:10 +0100 |
---|---|---|
committer | Christophe Giboudeaux <christophe@krop.fr> | 2021-01-13 18:04:16 +0100 |
commit | 2d4a40f93fd3f0fd31110ef7d19a12fc56c00967 (patch) | |
tree | 1dad76d3888a2f1152e7cfed07d95ac9ea40761c /src/widgets/styles/qstyle.cpp | |
parent | 9563be2870b85309e163db950fefcb9200cac6f4 (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
Pick-to: 6.0
Change-Id: Ied62502ce9c7f7fd6b89fab166f7bccfcd6e7433
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/widgets/styles/qstyle.cpp')
0 files changed, 0 insertions, 0 deletions