diff options
author | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-05-05 16:22:42 +0200 |
---|---|---|
committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-06-08 16:25:59 +0000 |
commit | 9d8a04cd1fd0a0c4ec891a9497512e4bbbaead9d (patch) | |
tree | 1e085ce057e399fd6ecb01465c8d6f556aeff25f /src/widgets/styles | |
parent | f341f75c8c23c8e97752941d1f20948e71c6c284 (diff) |
Remove debug symbols from Android's release build
Android's toolchain file, ie., android-legacy.toolchain.cmake assumes
that the default build is a Debug build, and it adds the `-g` flag to
CMAKE_<LANG>_FLAGS, as a result, our release Android build always
contains debug symbols. In this patch, I basically move the `-g` flag
from CMAKE_<LANG>_FLAGS to CMAKE_<LANG>_FLAGS_DEBUG, and
CMAKE_<LANG>_FLAGS_RELWITHDEBINFO.
Pick-to: 6.5 6.6
Fixes: QTBUG-111901
Change-Id: I31eadb07d9172c923e8beaf0ac6c6e34fe1ebefb
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/widgets/styles')
0 files changed, 0 insertions, 0 deletions