mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
fix(mbedtls): suppress -Wunterminated-string-initialization
This commit is contained in:
@@ -347,6 +347,11 @@ foreach(target ${mbedtls_targets})
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
if(CMAKE_C_COMPILER_ID MATCHES "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 15.0)
|
||||||
|
target_compile_options(mbedtls PRIVATE "-Wno-unterminated-string-initialization")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if(CONFIG_MBEDTLS_DYNAMIC_BUFFER)
|
if(CONFIG_MBEDTLS_DYNAMIC_BUFFER)
|
||||||
set(WRAP_FUNCTIONS
|
set(WRAP_FUNCTIONS
|
||||||
mbedtls_ssl_write_client_hello
|
mbedtls_ssl_write_client_hello
|
||||||
|
Reference in New Issue
Block a user