configure: Remove the -W argument

This did nothing since the port to CMake, it's undocumented, and we
didn't receive any complaints about its brokenness.

Use CMAKE_CXX_FLAGS to pass arguments like -Wall to the compiler when
building Qt.

Change-Id: Id9976167013607a88959416f789754186a7ed121
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Joerg Bornemann 2024-03-26 10:42:50 +01:00
parent 1ebee8980b
commit e685bfe764

View File

@ -135,7 +135,6 @@ qt_commandline_prefix(F fpaths)
qt_commandline_prefix(I includes)
qt_commandline_prefix(L lpaths)
qt_commandline_prefix(R rpaths)
qt_commandline_prefix(W wflags)
function(qt_commandline_cxxstd arg val nextok)
if("${val}" STREQUAL "")