We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde9bf3 commit bcb3f28Copy full SHA for bcb3f28
CMakeLists.txt
@@ -135,6 +135,7 @@ target_compile_options(${PROJECT_NAME} PRIVATE
135
-std=gnu99
136
-Wall
137
-Wcast-align
138
+ -Wcast-qual
139
-Wchar-subscripts
140
-Wcomment
141
-Wformat-security
@@ -232,11 +233,6 @@ endif()
232
233
234
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
235
-if (NOT $ENV{S2N_LIBCRYPTO} MATCHES "awslc")
236
- # add cast-qual back in for non AWS-LC
237
- target_compile_options(${PROJECT_NAME} PRIVATE -Wcast-qual)
238
-endif()
239
-
240
if (COVERAGE)
241
# https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html
242
# Coverage is done using LLVM source based coverage. This is only supported
0 commit comments