aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJim Wilson <jim.wilson.gcc@gmail.com>2022-04-20 15:37:17 -0700
committerJim Wilson <jim.wilson.gcc@gmail.com>2022-04-20 15:37:17 -0700
commit1f2786ef3bdbe4b62d15ee6a8c302cc49de48bc7 (patch)
tree4c3017bf1f17ba606118beb83689b1177aa3b57c /configure
parenta72aaaa9165a2899072a61b10f0646a5d3663986 (diff)
downloadriscv-gnu-toolchain-1f2786ef3bdbe4b62d15ee6a8c302cc49de48bc7.zip
riscv-gnu-toolchain-1f2786ef3bdbe4b62d15ee6a8c302cc49de48bc7.tar.gz
riscv-gnu-toolchain-1f2786ef3bdbe4b62d15ee6a8c302cc49de48bc7.tar.bz2
Rebuild configure file.
To finish #1059 and fix #1057.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 13 insertions, 3 deletions
diff --git a/configure b/configure
index b69fbba..69d2d36 100755
--- a/configure
+++ b/configure
@@ -600,6 +600,7 @@ target_cxxflags
target_cflags
cmodel
gcc_checking
+musl_multilib_names
newlib_multilib_names
glibc_multilib_names
multilib_flags
@@ -1322,8 +1323,8 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-linux set linux as the default make target
[--disable-linux]
- --enable-multilib build both RV32 and RV64 runtime libraries (only RV64 for musl libc)
- [--disable-multilib]
+ --enable-multilib build both RV32 and RV64 runtime libraries (only
+ RV64 for musl libc) [--disable-multilib]
--enable-gcc-checking Enable gcc internal checking, it will make gcc very
slow, only enable it when developing gcc
[--disable-gcc-checking]
@@ -1339,7 +1340,7 @@ Optional Packages:
available options: 2.2, 20190608, 20191213
--with-multilib-generator
Multi-libs configuration string, only supported for
- bare-metal/elf toolchaih, this option implied
+ bare-metal/elf toolchain, this option implied
--enable-multilib
--with-cmodel Select the code model to use when building libc and
libgcc [--with-cmodel=medlow]
@@ -3398,6 +3399,14 @@ else
fi
+if test "x$enable_multilib" != xno; then :
+ musl_multilib_names="rv64imac-lp64 rv64imafdc-lp64d"
+
+else
+ musl_multilib_names="$with_arch-$with_abi"
+
+fi
+
# Check whether --enable-gcc-checking was given.
if test "${enable_gcc_checking+set}" = set; then :
enableval=$enable_gcc_checking;
@@ -4836,3 +4845,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
+