From e685bfe764fa78117766b708b5219768f2a893b1 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 26 Mar 2024 10:42:50 +0100 Subject: [PATCH] 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 --- qt_cmdline.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/qt_cmdline.cmake b/qt_cmdline.cmake index 06683624ef8..fa398c6d025 100644 --- a/qt_cmdline.cmake +++ b/qt_cmdline.cmake @@ -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 "")