Skip to content

Commit 6eb76a8

Browse files
committed
Update configure.ac and sync configure.
1 parent 935b263 commit 6eb76a8

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,8 +1384,8 @@ Optional Features:
13841384
information
13851385
--enable-default-pie build linux toolchain with default PIE
13861386
[--enable-default-pie]
1387-
--enable-multilib build both RV32 and RV64 runtime libraries
1388-
[--disable-multilib]
1387+
--enable-multilib build both RV32 and RV64 runtime libraries (only
1388+
RV64 for musl libc) [--disable-multilib]
13891389
--enable-gcc-checking Enable gcc internal checking, it will make gcc very
13901390
slow, only enable it when developing gcc
13911391
[--disable-gcc-checking]
@@ -4166,7 +4166,7 @@ fi
41664166
41674167
if test "x$enable_multilib" != xno
41684168
then :
4169-
musl_multilib_names="rv64imac-lp64 rv64imafdc-lp64d"
4169+
musl_multilib_names="rv32imac-ilp32 rv32imafdc-ilp32d rv64imac-lp64 rv64imafdc-lp64d"
41704170
41714171
else $as_nop
41724172
musl_multilib_names="$with_arch-$with_abi"

configure.ac

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Process this file with autoconf 2.69. Other versions may not work.
2-
AC_INIT(riscv-toolchain, 1.0)
2+
AC_INIT([riscv-toolchain],[1.0])
33

44
AC_PROG_CC
55
AC_PROG_FGREP
@@ -246,8 +246,7 @@ AS_IF([test "x$with_system_zlib" != xno],
246246
[AC_SUBST(with_system_zlib,--without-system-zlib)])
247247

248248
AC_ARG_WITH(guile,
249-
[AC_HELP_STRING([--with-guile],
250-
[Set which guile to use, if any])],
249+
[AS_HELP_STRING([--with-guile],[Set which guile to use, if any])],
251250
[],
252251
[with_guile=default]
253252
)
@@ -291,8 +290,7 @@ AS_IF([test "x$enable_host_gcc" != xyes],
291290
AC_DEFUN([AX_ARG_WITH_SRC],
292291
[{m4_pushdef([opt_name], with_$1_src)
293292
AC_ARG_WITH($1-src,
294-
[AC_HELP_STRING([--with-$1-src],
295-
[Set $1 source path, use builtin source by default])],
293+
[AS_HELP_STRING([--with-$1-src],[Set $1 source path, use builtin source by default])],
296294
[],
297295
[opt_name=default]
298296
)
@@ -316,8 +314,7 @@ AX_ARG_WITH_SRC(llvm, llvm)
316314
AX_ARG_WITH_SRC(dejagnu, dejagnu)
317315

318316
AC_ARG_WITH(linux-headers-src,
319-
[AC_HELP_STRING([--with-linux-headers-src],
320-
[Set linux-headers source path, use builtin source by default])],
317+
[AS_HELP_STRING([--with-linux-headers-src],[Set linux-headers source path, use builtin source by default])],
321318
[],
322319
[with_linux_headers_src=default]
323320
)

0 commit comments

Comments
 (0)