diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-01-14 09:08:30 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-01-14 09:08:30 +0000 |
commit | 5159cbdddecb061f12770095df0165d830bbbda0 (patch) | |
tree | d8e09b223ea95282c11075d48386e3027176792c /tcwg_bmk-build.sh | |
parent | 0e0fd3000678c3507eef0a09728c8736a0eb671d (diff) |
tcwg_bmk-build.sh: Don't use --with-mode=thumb for arm-eabi
... because it conflicts with --with-multilib-list=aprofile.
Setting --with-mode=<foo> is used to compile glibc for mode <foo>,
and for bare-metal toolchain setting -mthumb in benchmarking cflags
is sufficient.
Change-Id: Iddb012650e64700565e683a2f5d915fa6ad2e3f9
Diffstat (limited to 'tcwg_bmk-build.sh')
-rwxr-xr-x | tcwg_bmk-build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh index fa18227e..403d9b7b 100755 --- a/tcwg_bmk-build.sh +++ b/tcwg_bmk-build.sh @@ -73,8 +73,7 @@ for i in $(seq 0 $(("${#cflags[@]}" - 1))); do cflags[$i]="${cflags[$i]}_marm" ;; "arm_eabi:"*) - cflags_mode=thumb - cflags[$i]="${cflags[$i]}_thumb" + cflags[$i]="${cflags[$i]}_mthumb" ;; esac if [ x"$gcc_mode" = x"" ]; then |