mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-08 19:29:54 +00:00
Temporarily disable Werror
Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
@@ -271,9 +271,6 @@ function(set_gnu_base_compile_options target)
|
|||||||
target_compile_options(${target} PRIVATE $<$<CONFIG:Check>:-Os>)
|
target_compile_options(${target} PRIVATE $<$<CONFIG:Check>:-Os>)
|
||||||
target_compile_options(${target} PRIVATE $<$<CONFIG:CheckFull>:-Os -Wcast-qual>)
|
target_compile_options(${target} PRIVATE $<$<CONFIG:CheckFull>:-Os -Wcast-qual>)
|
||||||
|
|
||||||
if(MBEDTLS_FATAL_WARNINGS)
|
|
||||||
target_compile_options(${target} PRIVATE -Werror)
|
|
||||||
endif(MBEDTLS_FATAL_WARNINGS)
|
|
||||||
endfunction(set_gnu_base_compile_options)
|
endfunction(set_gnu_base_compile_options)
|
||||||
|
|
||||||
function(set_clang_base_compile_options target)
|
function(set_clang_base_compile_options target)
|
||||||
@@ -296,9 +293,6 @@ function(set_clang_base_compile_options target)
|
|||||||
set_target_properties(${target} PROPERTIES LINK_FLAGS_TSANDBG "-fsanitize=thread")
|
set_target_properties(${target} PROPERTIES LINK_FLAGS_TSANDBG "-fsanitize=thread")
|
||||||
target_compile_options(${target} PRIVATE $<$<CONFIG:Check>:-Os>)
|
target_compile_options(${target} PRIVATE $<$<CONFIG:Check>:-Os>)
|
||||||
|
|
||||||
if(MBEDTLS_FATAL_WARNINGS)
|
|
||||||
target_compile_options(${target} PRIVATE -Werror)
|
|
||||||
endif(MBEDTLS_FATAL_WARNINGS)
|
|
||||||
endfunction(set_clang_base_compile_options)
|
endfunction(set_clang_base_compile_options)
|
||||||
|
|
||||||
function(set_iar_base_compile_options target)
|
function(set_iar_base_compile_options target)
|
||||||
@@ -306,9 +300,6 @@ function(set_iar_base_compile_options target)
|
|||||||
target_compile_options(${target} PRIVATE $<$<CONFIG:Release>:-Ohz>)
|
target_compile_options(${target} PRIVATE $<$<CONFIG:Release>:-Ohz>)
|
||||||
target_compile_options(${target} PRIVATE $<$<CONFIG:Debug>:--debug -On>)
|
target_compile_options(${target} PRIVATE $<$<CONFIG:Debug>:--debug -On>)
|
||||||
|
|
||||||
if(MBEDTLS_FATAL_WARNINGS)
|
|
||||||
target_compile_options(${target} PRIVATE --warnings_are_errors)
|
|
||||||
endif(MBEDTLS_FATAL_WARNINGS)
|
|
||||||
endfunction(set_iar_base_compile_options)
|
endfunction(set_iar_base_compile_options)
|
||||||
|
|
||||||
function(set_msvc_base_compile_options target)
|
function(set_msvc_base_compile_options target)
|
||||||
|
|||||||
Reference in New Issue
Block a user