From 7044436bab6cf84a60be2008168c95727840172b Mon Sep 17 00:00:00 2001 From: Jiawei Date: Fri, 25 Oct 2024 00:03:03 +0800 Subject: [PATCH] Set rv64gc as default --with-arch option. --- configure | 4 ++-- configure.ac | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 93366a13593..8b1d1971d2e 100755 --- a/configure +++ b/configure @@ -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 @@ -3993,7 +3993,7 @@ if test ${with_arch+y} then : withval=$with_arch; else $as_nop - with_arch=rv64imafdc + with_arch=rv64gc fi diff --git a/configure.ac b/configure.ac index 3c881cf6a6f..f4685efffa9 100644 --- a/configure.ac +++ b/configure.ac @@ -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,