mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-27 09:47:10 +01:00
Add warnings in debug build, and -Werror with ASan
- warnings in debug build allows the to be caught earlier - -Werror with ASan make tests/scripts/all.sh a bit shorter
This commit is contained in:
parent
dca108e5a2
commit
39141fed63
2 changed files with 7 additions and 7 deletions
|
|
@ -32,7 +32,7 @@ endfunction(add_test_suite)
|
|||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function -Wno-unused-value")
|
||||
set(CMAKE_C_FLAGS_CHECK "${CMAKE_C_FLAGS_CHECK} -Wno-unused-function -Wno-unused-value")
|
||||
if(CMAKE_COMPILER_IS_CLANG)
|
||||
set(CMAKE_C_FLAGS_CHECK "${CMAKE_C_FLAGS_CHECK} -Wno-unreachable-code")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unreachable-code")
|
||||
endif(CMAKE_COMPILER_IS_CLANG)
|
||||
|
||||
add_test_suite(aes aes.ecb)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue