diff options
Diffstat (limited to 'riscv/riscv.ac')
-rw-r--r-- | riscv/riscv.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/riscv/riscv.ac b/riscv/riscv.ac index 2a8ee53..7b48be6 100644 --- a/riscv/riscv.ac +++ b/riscv/riscv.ac @@ -1,5 +1,11 @@ AC_LANG_CPLUSPLUS +AC_ARG_WITH(isa, + [AS_HELP_STRING([--with-isa=RV64IMAFDC], + [Sets the default RISC-V ISA])], + AC_DEFINE_UNQUOTED([DEFAULT_ISA], "$withval", [Default value for --isa switch]), + AC_DEFINE_UNQUOTED([DEFAULT_ISA], "RV64IMAFDC", [Default value for --isa switch])) + AC_SEARCH_LIBS([dlopen], [dl dld], [], [ AC_MSG_ERROR([unable to find the dlopen() function]) ]) |