diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 2a4bf8b7cf..284ea1f0d0 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1579,7 +1579,7 @@ component_test_no_64bit_multiplication () { component_build_arm_none_eabi_gcc () { msg "build: ${ARM_NONE_EABI_GCC_PREFIX}gcc, make" # ~ 10s scripts/config.py baremetal - make CC="${ARM_NONE_EABI_GCC_PREFIX}gcc" AR="${ARM_NONE_EABI_GCC_PREFIX}ar" LD="${ARM_NONE_EABI_GCC_PREFIX}ld" CFLAGS='-Werror -Wall -Wextra' lib + make CC="${ARM_NONE_EABI_GCC_PREFIX}gcc" AR="${ARM_NONE_EABI_GCC_PREFIX}ar" LD="${ARM_NONE_EABI_GCC_PREFIX}ld" CFLAGS='-Werror -Wall -Wextra -O1' lib } component_build_arm_none_eabi_gcc_arm5vte () {