diff options
author | Marc <marc@malloc.me> | 2022-10-16 20:52:05 +0100 |
---|---|---|
committer | Marc <foxtrot@malloc.me> | 2023-01-15 20:32:26 +1100 |
commit | 9df744556c0b05e3f6eedc95b356fdb1e53ca90e (patch) | |
tree | 1fc57dba0dd71e8456e970ee23f65f55a5b92659 /CMakeLists.txt | |
parent | 2b2f3e02697cd706ed55ed60cafaf6d6c2019701 (diff) | |
download | libwifi-9df744556c0b05e3f6eedc95b356fdb1e53ca90e.tar.gz libwifi-9df744556c0b05e3f6eedc95b356fdb1e53ca90e.tar.bz2 libwifi-9df744556c0b05e3f6eedc95b356fdb1e53ca90e.zip |
build: Drop -Warith-conversion
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 64199da..54e2441 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -24,7 +24,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$") | |||
24 | else() | 24 | else() |
25 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat-overflow=2 -Wformat-truncation=2 -Wformat-security -Wnull-dereference -Wstack-protector") | 25 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat-overflow=2 -Wformat-truncation=2 -Wformat-security -Wnull-dereference -Wstack-protector") |
26 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wtrampolines -Walloca -Wvla -Warray-bounds=2 -Wimplicit-fallthrough=3 -Wtraditional-conversion") | 26 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wtrampolines -Walloca -Wvla -Warray-bounds=2 -Wimplicit-fallthrough=3 -Wtraditional-conversion") |
27 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshift-overflow=2 -Wcast-qual -Wstringop-overflow=4 -Wconversion -Warith-conversion -Wlogical-op") | 27 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshift-overflow=2 -Wcast-qual -Wstringop-overflow=4 -Wconversion -Wlogical-op") |
28 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wduplicated-cond -Wduplicated-branches -Wformat-signedness -Wshadow -Wstrict-overflow=4 -Wundef") | 28 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wduplicated-cond -Wduplicated-branches -Wformat-signedness -Wshadow -Wstrict-overflow=4 -Wundef") |
29 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wstack-usage=1000000 -Wcast-align=strict") | 29 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wstack-usage=1000000 -Wcast-align=strict") |
30 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-clash-protection -fPIE -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code") | 30 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-clash-protection -fPIE -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code") |