From 971113d016ccf8ece32824bc43c56acf4b7557b0 Mon Sep 17 00:00:00 2001 From: Krzysztof Filipek Date: Fri, 29 Nov 2024 11:46:24 +0100 Subject: [PATCH] [CMake] Remove redundant compilation flags This change removes all unnecessary flags that are enabled by other flags like -Wall, -Wextra, -Wpedantic Signed-off-by: Krzysztof Filipek --- cmake/helpers.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmake/helpers.cmake b/cmake/helpers.cmake index 2a16de742a..2544a15186 100644 --- a/cmake/helpers.cmake +++ b/cmake/helpers.cmake @@ -233,12 +233,8 @@ function(add_umf_target_compile_options name) -Wall -Wextra -Wpedantic - -Wempty-body - -Wunused-parameter - -Wformat -Wformat-security -Wcast-qual - -Wunused-result $<$:-fdiagnostics-color=auto>) if(CMAKE_BUILD_TYPE STREQUAL "Release") target_compile_definitions(${name} PRIVATE -D_FORTIFY_SOURCE=2)