diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-08-09 11:11:16 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-10 10:00:24 +0000 |
commit | 9fcd65d4e40b78cced668374ff2b9a3d38e2be3a (patch) | |
tree | aa4f82f84ed61938129923e8a177775a728d03cb /cmake | |
parent | 7b38f466e0e78c3c7f73877c633bf9c847f6513b (diff) |
Remove dysfunctional -coverage configure argument
The -coverage argument merely added compiler flags for the Qt build. It
was never properly ported to the CMake build, and it doesn't seem
feasible to have configure arguments for every possible compiler option.
The same can be achieved by passing the needed compiler option to CMake,
for example: CMAKE_CXX_FLAGS=-fsanitize-coverage=trace-pc-guard
Fixes: QTBUG-86227
Change-Id: Ieef9acaedc0a839f9fb35b4403395eea28643864
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 0e92ec972840e78b6f38d0f554ec1554edf752d1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/configure-cmake-mapping.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/configure-cmake-mapping.md b/cmake/configure-cmake-mapping.md index e26380ff56..118371518d 100644 --- a/cmake/configure-cmake-mapping.md +++ b/cmake/configure-cmake-mapping.md @@ -51,7 +51,6 @@ The following table describes the mapping of configure options to CMake argument | | or -DFEATURE_<backend> | | | -sanitize address -sanitize undefined | -DFEATURE_sanitize_address=ON | Directly setting -DECM_ENABLE_SANITIZERS=foo is not supported | | | -DFEATURE_sanitize_undefined=ON | | -| -coverage <arg> | | | | -c++std c++20 | -DFEATURE_cxx20=ON | | | -sse2/-sse3/-ssse3/-sse4.1 | -DFEATURE_sse4=ON | | | -mips_dsp/-mips_dspr2 | -DFEATURE_mips_dsp=ON | | |