From dfe5ce81ee18e34e3ec5f42296305c301ebd4f14 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Tue, 19 Dec 2023 11:47:18 +0000 Subject: [PATCH] Use clang -O2 in common_block_cipher_no_decrypt Signed-off-by: Dave Rodgman --- tests/scripts/all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 67b205679..b9c45261c 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -4922,7 +4922,7 @@ helper_block_cipher_no_decrypt_build_test () { msg "build: default config + BLOCK_CIPHER_NO_DECRYPT${set_opts:+ + $set_opts}${unset_opts:+ - $unset_opts} with $cflags${ldflags:+, $ldflags}" make clean - make CC=gcc CFLAGS="$cflags" LDFLAGS="$ldflags" + make CFLAGS="-O2 $cflags" LDFLAGS="$ldflags" # Make sure we don't have mbedtls_xxx_setkey_dec in AES/ARIA/CAMELLIA not grep mbedtls_aes_setkey_dec library/aes.o