diff options
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | riscv/riscv.ac | 5 |
2 files changed, 8 insertions, 5 deletions
@@ -1356,9 +1356,7 @@ Optional Features: bits --enable-misaligned Enable hardware support for misaligned loads and stores - --enable-1905-check - enable 1905 release check - + --enable-1905-check Enable 1905 release check Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -4730,10 +4728,10 @@ if test "${enable_1905_check+set}" = set; then : enableval=$enable_1905_check; fi -if test "x$enable_1905_check" != "xno"; then : +if test "x$enable_1905_check" = "xyes"; then : -$as_echo "#define RISCV_ENABLE_1905_CHECK /**/" >>confdefs.h +$as_echo "#define RISCV_ENABLE_1950_CHECK /**/" >>confdefs.h fi diff --git a/riscv/riscv.ac b/riscv/riscv.ac index 40cf706..213ba8d 100644 --- a/riscv/riscv.ac +++ b/riscv/riscv.ac @@ -38,3 +38,8 @@ AC_ARG_ENABLE([misaligned], AS_HELP_STRING([--enable-misaligned], [Enable hardwa AS_IF([test "x$enable_misaligned" = "xyes"], [ AC_DEFINE([RISCV_ENABLE_MISALIGNED],,[Enable hardware support for misaligned loads and stores]) ]) + +AC_ARG_ENABLE([1905-check], AS_HELP_STRING([--enable-1905-check], [Enable 1905 release check])) +AS_IF([test "x$enable_1905_check" = "xyes"], [ + AC_DEFINE([RISCV_ENABLE_1950_CHECK],,[Enable 1905 release check]) +]) |