Skip to content

Commit

Permalink
Merge pull request #1595 from pz9115/patch-1
Browse files Browse the repository at this point in the history
Set `rv64gc` the default for `--with-arch` option.
  • Loading branch information
kito-cheng authored Nov 21, 2024
2 parents 829b043 + 7044436 commit a4b355b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-arch=rv64imafdc Sets the base RISC-V ISA, defaults to rv64imafdc
--with-arch=rv64gc Sets the base RISC-V ISA, defaults to rv64gc
--with-abi=lp64d Sets the base RISC-V ABI, defaults to lp64d
--with-tune=rocket Set the base RISC-V CPU, defaults to rocket
--with-isa-spec=20191213
Expand Down Expand Up @@ -3993,7 +3993,7 @@ if test ${with_arch+y}
then :
withval=$with_arch;
else $as_nop
with_arch=rv64imafdc
with_arch=rv64gc
fi
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ AS_IF([test "x$enable_default_pie" != xyes],


AC_ARG_WITH(arch,
[AS_HELP_STRING([--with-arch=rv64imafdc],
[Sets the base RISC-V ISA, defaults to rv64imafdc])],
[AS_HELP_STRING([--with-arch=rv64gc],
[Sets the base RISC-V ISA, defaults to rv64gc])],
[],
[with_arch=rv64imafdc]
[with_arch=rv64gc]
)

AC_ARG_WITH(abi,
Expand Down

0 comments on commit a4b355b

Please sign in to comment.