Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.0.0, 6.0
-
-
80de5165658e1cfb12d0813ea93dcfecca0dcb45 (qt/qtbase/dev) 1d17a5a0520ae99ba1832f5db2ee8615fe9df010 (qt/qtbase/6.2)
Description
With Android, we seem to unconditionally optimize for size (at least in releas builds); and thus passing -Oz along. However, -Oz isn't an option that the linker understands (at least until https://reviews.llvm.org/D79919 lands). As we pass the option to the linker when configured with -ltcg, the build breaks.
Note that this was also broken in Qt 5 with qmake for basically the same reason.