@@ -600,6 +600,7 @@ target_cxxflags
600
600
target_cflags
601
601
cmodel
602
602
gcc_checking
603
+ musl_multilib_names
603
604
newlib_multilib_names
604
605
glibc_multilib_names
605
606
multilib_flags
@@ -1322,8 +1323,8 @@ Optional Features:
1322
1323
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1323
1324
--enable-linux set linux as the default make target
1324
1325
[--disable-linux]
1325
- --enable-multilib build both RV32 and RV64 runtime libraries (only RV64 for musl libc)
1326
- [--disable-multilib]
1326
+ --enable-multilib build both RV32 and RV64 runtime libraries (only
1327
+ RV64 for musl libc) [--disable-multilib]
1327
1328
--enable-gcc-checking Enable gcc internal checking, it will make gcc very
1328
1329
slow, only enable it when developing gcc
1329
1330
[--disable-gcc-checking]
@@ -1339,7 +1340,7 @@ Optional Packages:
1339
1340
available options: 2.2, 20190608, 20191213
1340
1341
--with-multilib-generator
1341
1342
Multi-libs configuration string, only supported for
1342
- bare-metal/elf toolchaih , this option implied
1343
+ bare-metal/elf toolchain , this option implied
1343
1344
--enable-multilib
1344
1345
--with-cmodel Select the code model to use when building libc and
1345
1346
libgcc [--with-cmodel=medlow]
@@ -3398,6 +3399,14 @@ else
3398
3399
3399
3400
fi
3400
3401
3402
+ if test " x$enable_multilib " ! = xno; then :
3403
+ musl_multilib_names=" rv64imac-lp64 rv64imafdc-lp64d"
3404
+
3405
+ else
3406
+ musl_multilib_names=" $with_arch -$with_abi "
3407
+
3408
+ fi
3409
+
3401
3410
# Check whether --enable-gcc-checking was given.
3402
3411
if test " ${enable_gcc_checking+set} " = set ; then :
3403
3412
enableval=$enable_gcc_checking ;
@@ -4836,3 +4845,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4836
4845
{ $as_echo " $as_me :${as_lineno-$LINENO } : WARNING: unrecognized options: $ac_unrecognized_opts " >&5
4837
4846
$as_echo " $as_me : WARNING: unrecognized options: $ac_unrecognized_opts " >&2 ; }
4838
4847
fi
4848
+
0 commit comments