aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2021-01-01 10:46:15 +0800
committerGitHub <noreply@github.com>2021-01-01 10:46:15 +0800
commitc4215130b666039815f9777cebb6c7abf2e2c9c4 (patch)
tree89164c32be3846a6ce96262ab91827b8d5bb09fc
parent49d7ece5b5932f87c9c90637526e809a7aae0a27 (diff)
parentb25f4883e133456c0fff5f15ae4403ed86f88bb9 (diff)
downloadriscv-gnu-toolchain-c4215130b666039815f9777cebb6c7abf2e2c9c4.zip
riscv-gnu-toolchain-c4215130b666039815f9777cebb6c7abf2e2c9c4.tar.gz
riscv-gnu-toolchain-c4215130b666039815f9777cebb6c7abf2e2c9c4.tar.bz2
Merge pull request #809 from riscv/fix-testing-with-multilib-config
Fix testing when configure with --with-multilib-generator=
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 270164a..dad7944 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -57,7 +57,7 @@ ifeq ($(MULTILIB_GEN),)
NEWLIB_MULTILIB_NAMES := @newlib_multilib_names@
GCC_MULTILIB_FLAGS := $(MULTILIB_FLAGS)
else
-NEWLIB_MULTILIB_NAMES := $(shell echo "$(MULTILIB_GEN)" | $(SED) 's/;/\n/'| $(AWK) '{split($$0,a,"-"); printf "%s-%s ", a[1],a[2]}')
+NEWLIB_MULTILIB_NAMES := $(shell echo "$(MULTILIB_GEN)" | $(SED) 's/;/\n/g'| $(AWK) '{split($$0,a,"-"); printf "%s-%s ", a[1],a[2]}')
GCC_MULTILIB_FLAGS := $(MULTILIB_FLAGS) --with-multilib-generator="$(MULTILIB_GEN)"
endif
GLIBC_MULTILIB_NAMES := @glibc_multilib_names@