diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2021-03-03 14:00:21 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2021-03-03 14:00:21 +0000 |
commit | a5eb8e4db1bdbe37af84da97ccfd6e03ffe4048a (patch) | |
tree | 2799c4c14a4e1524fc00f096446e9b9dccdc01c7 /tcwg_bmk-build.sh | |
parent | 32b38c48213a52218385b85a5b6162e3763c0fd5 (diff) |
tcwg_bmk-build.sh: Use rmprofile multilibs when targeting arm_eabi
When targeting arm_eabi, we compile for Cortex-M and need the right
versions of startup code and libraries.
Change-Id: I7bf15b342c7b55117c66266004e0396f2a3dccfc
Diffstat (limited to 'tcwg_bmk-build.sh')
-rwxr-xr-x | tcwg_bmk-build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh index b2c833ed..f30bf662 100755 --- a/tcwg_bmk-build.sh +++ b/tcwg_bmk-build.sh @@ -94,6 +94,11 @@ esac # We need to test revisions during that time period for performance regressions. gcc_override_configure+=("--set" "gcc_override_configure=--disable-libsanitizer") +# Enable the right multilibs depending on the target. +case "${rr[target]}" in + "arm_eabi") gcc_override_configure+=("--set" "multilib=rmprofile") ;; +esac + case "${rr[toolchain]}" in llvm) # shellcheck disable=SC2154 |