Skip to content

Commit c70a02b

Browse files
authored
Merge pull request oneapi-src#951 from KFilipek/redundant_flags
[CMake] Remove redundant compilation flags
2 parents 9d1a9b5 + 971113d commit c70a02b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/helpers.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,8 @@ function(add_umf_target_compile_options name)
233233
-Wall
234234
-Wextra
235235
-Wpedantic
236-
-Wempty-body
237-
-Wunused-parameter
238-
-Wformat
239236
-Wformat-security
240237
-Wcast-qual
241-
-Wunused-result
242238
$<$<CXX_COMPILER_ID:GNU>:-fdiagnostics-color=auto>)
243239
if(CMAKE_BUILD_TYPE STREQUAL "Release")
244240
target_compile_definitions(${name} PRIVATE -D_FORTIFY_SOURCE=2)

0 commit comments

Comments
 (0)