Skip to content

Commit

Permalink
Switch armel build to -Os
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gilles-peskine-arm committed Aug 8, 2019
1 parent 0bd284d commit e07b9ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/scripts/all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1081,9 +1081,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 () {
Expand Down

0 comments on commit e07b9ff

Please sign in to comment.