From 8a52af9b7704b7c0e17eb7f56dc0fdfe94ec51b5 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 8 Aug 2019 16:09:02 +0200 Subject: [PATCH] Switch armel build to -Os Without any -O option, the default is -O0, and then the assembly code is not used, so this would not be a non-regression test for the assembly code that doesn't build. --- tests/scripts/all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index d9ef302ab..739f06143 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1089,9 +1089,9 @@ component_build_arm_none_eabi_gcc () { } component_build_arm_none_eabi_gcc_armel () { - msg "build: arm-none-eabi-gcc, make" # ~ 10s + msg "build: arm-none-eabi-gcc -march=arm5vte, make" # ~ 10s scripts/config.pl baremetal - make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar CFLAGS='-Werror -Wall -Wextra -march=armv5te' LDFLAGS='-march=armv5te' SHELL='sh -x' lib + make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar CFLAGS='-Werror -Wall -Wextra -march=armv5te -O1' LDFLAGS='-march=armv5te' SHELL='sh -x' lib } component_build_arm_none_eabi_gcc_no_udbl_division () {