Turn Wunterminated-string-initialization back into an error

Signed-off-by: Felix Conway <[email protected]>
This commit is contained in:
Felix Conway
2025-06-23 14:54:33 +01:00
parent 415d7eb039
commit 95c48b3b44
-3
View File
@@ -93,9 +93,6 @@ component_test_gcc15_drivers_opt () {
scripts/config.py full
loc_cflags="$ASAN_CFLAGS -DPSA_CRYPTO_DRIVER_TEST -DMBEDTLS_CONFIG_ADJUST_TEST_ACCELERATORS"
loc_cflags="${loc_cflags} -I../framework/tests/include -O2"
# Allow a warning that we don't yet comply to.
# https://github.com/Mbed-TLS/mbedtls/issues/9944
loc_cflags="${loc_cflags} -Wno-error=unterminated-string-initialization"
make CC=$GCC_15 CFLAGS="${loc_cflags}" LDFLAGS="$ASAN_CFLAGS"