summaryrefslogtreecommitdiff
path: root/tcwg_bmk-build.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-01-14 09:08:30 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-01-14 09:08:30 +0000
commit5159cbdddecb061f12770095df0165d830bbbda0 (patch)
treed8e09b223ea95282c11075d48386e3027176792c /tcwg_bmk-build.sh
parent0e0fd3000678c3507eef0a09728c8736a0eb671d (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-xtcwg_bmk-build.sh3
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