diff options
author | Andrew Waterman <andrew@sifive.com> | 2016-12-22 21:05:12 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2016-12-22 21:05:12 -0800 |
commit | d5c06eb9d946e9488beee95a8cbba50cfd8e81fb (patch) | |
tree | e7227ddefdcb27ebdcc826b93c92a11e5ab8343f /configure.ac | |
parent | ef50015921792c296ab783668e01be81f443ee4e (diff) | |
download | riscv-gnu-toolchain-d5c06eb9d946e9488beee95a8cbba50cfd8e81fb.zip riscv-gnu-toolchain-d5c06eb9d946e9488beee95a8cbba50cfd8e81fb.tar.gz riscv-gnu-toolchain-d5c06eb9d946e9488beee95a8cbba50cfd8e81fb.tar.bz2 |
Default arch is rv64g, not ERROR
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2869f83..b13fd44 100644 --- a/configure.ac +++ b/configure.ac @@ -60,8 +60,8 @@ AC_ARG_ENABLE(atomic, AC_ARG_WITH(arch, [AS_HELP_STRING([--with-arch=rv64g], [Sets the base RISC-V ISA, defaults to rv64g])], - AC_SUBST(WITH_ARCH, --with-arch=$withval), - AC_SUBST(WITH_ARCH, --with-arch=rv64g) + [], + [with_arch=rv64g] ) AC_ARG_WITH(abi, @@ -82,6 +82,7 @@ AS_IF([test "x$with_abi" == xdefault], [AC_MSG_ERROR([Unknown arch])] )]) +AC_SUBST(WITH_ARCH, --with-arch=$with_arch) AC_SUBST(WITH_ABI, --with-abi=$with_abi) AC_ARG_ENABLE(multilib, |