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.
This commit is contained in:
Gilles Peskine 2019-08-08 16:09:02 +02:00
parent 93e4e03f94
commit 8a52af9b77

View file

@ -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 () {