summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowscontext.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-08-19 22:13:53 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-08-20 09:48:27 +0200
commit80de5165658e1cfb12d0813ea93dcfecca0dcb45 (patch)
treeedf29c46112990ecd5e0114c6b59ec545dd3eb47 /src/plugins/platforms/windows/qwindowscontext.cpp
parentcd36734ff4ec568124b3f93759f7ba6113a0d75f (diff)
Fix Android -ltcg build
We're passing -Oz for release builds, but that's not a flag the linker understands when -ltcg is enabled. The build fails with: ld.gold: fatal error: Optimization level must be between 0 and 3 Fix this by using -O2, which -Oz is based on, and -O3 for the "full optimization" that is used for core and gui. Pick-to: 6.2 Fixes: QTBUG-89472 Change-Id: Ie1a86888baefce5ca97026e7d635f10d2819f9f4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowscontext.cpp')
0 files changed, 0 insertions, 0 deletions