mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-07-24 01:51:03 +08:00
Improve comments
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
d69bfb9044
commit
d0e799ad8b
@ -74,12 +74,11 @@ support_test_gcc_latest_opt () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Prepare for a non-regression for https://github.com/Mbed-TLS/mbedtls/issues/9814 :
|
# Prepare for a non-regression for https://github.com/Mbed-TLS/mbedtls/issues/9814 :
|
||||||
# test with GCC 15 (initially, a snapshot, since GCC 15 isn't released yet
|
# test with GCC 15.
|
||||||
# at the time of writing).
|
|
||||||
# Eventually, $GCC_LATEST will be GCC 15 or above, and we can remove this
|
# Eventually, $GCC_LATEST will be GCC 15 or above, and we can remove this
|
||||||
# separate component.
|
# separate component.
|
||||||
# For the time being, we don't make $GCC_LATEST be GCC 15 on the CI
|
# For the time being, we don't make $GCC_LATEST be GCC 15 on the CI
|
||||||
# platform, because that would break branches where #9814 isn'f fixed yet.
|
# platform, because that would break branches where #9814 isn't fixed yet.
|
||||||
support_test_gcc15_drivers_opt () {
|
support_test_gcc15_drivers_opt () {
|
||||||
if type gcc-15 >/dev/null 2>/dev/null; then
|
if type gcc-15 >/dev/null 2>/dev/null; then
|
||||||
GCC_15=gcc-15
|
GCC_15=gcc-15
|
||||||
@ -97,7 +96,8 @@ component_test_gcc15_drivers_opt () {
|
|||||||
# Until https://github.com/Mbed-TLS/mbedtls/issues/9814 is fixed,
|
# Until https://github.com/Mbed-TLS/mbedtls/issues/9814 is fixed,
|
||||||
# disable the new problematic optimization.
|
# disable the new problematic optimization.
|
||||||
loc_cflags="${loc_cflags} -fzero-init-padding-bits=unions"
|
loc_cflags="${loc_cflags} -fzero-init-padding-bits=unions"
|
||||||
# Also disable a warning that we don't yet comply to.
|
# Also 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"
|
loc_cflags="${loc_cflags} -Wno-error=unterminated-string-initialization"
|
||||||
|
|
||||||
make CC=$GCC_15 CFLAGS="${loc_cflags}" LDFLAGS="$ASAN_CFLAGS"
|
make CC=$GCC_15 CFLAGS="${loc_cflags}" LDFLAGS="$ASAN_CFLAGS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user