diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-08-09 11:11:16 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-08-10 12:00:13 +0200 |
commit | 0e92ec972840e78b6f38d0f554ec1554edf752d1 (patch) | |
tree | d32ea8c8377cc0826d33606b86f608a4edd2b05c /qt_cmdline.cmake | |
parent | 84aba80944a2e1c3058d7a1372e0e66676411884 (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
Pick-to: 6.2
Fixes: QTBUG-86227
Change-Id: Ieef9acaedc0a839f9fb35b4403395eea28643864
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'qt_cmdline.cmake')
-rw-r--r-- | qt_cmdline.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qt_cmdline.cmake b/qt_cmdline.cmake index 8c1bfad0b4..24cfec31b1 100644 --- a/qt_cmdline.cmake +++ b/qt_cmdline.cmake @@ -42,7 +42,6 @@ qt_commandline_option(c++std TYPE cxxstd) qt_commandline_option(ccache TYPE boolean NAME ccache) qt_commandline_option(commercial TYPE void) qt_commandline_option(confirm-license TYPE void) -qt_commandline_option(coverage TYPE coverage) qt_commandline_option(dbus TYPE optionalString VALUES no yes linked runtime) qt_commandline_option(dbus-linked TYPE void NAME dbus VALUE linked) qt_commandline_option(dbus-runtime TYPE void NAME dbus VALUE runtime) |