Skip to content

Commit

Permalink
fix broken configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantom1003 committed Oct 10, 2023
1 parent a809228 commit 6483e81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -6601,7 +6601,8 @@ printf "%s\n" "#define DEFAULT_VARCH \"$withval\"" >>confdefs.h

else $as_nop

printf "%s\n" "#define DEFAULT_VARCH \"vlen:128
printf "%s\n" "#define DEFAULT_VARCH \"vlen:128,elen:64\"" >>confdefs.h

fi


Expand Down
2 changes: 1 addition & 1 deletion riscv/riscv.ac
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ AC_ARG_WITH(varch,
[AS_HELP_STRING([--with-varch=vlen:128,elen:64],
[Sets the default vector config])],
AC_DEFINE_UNQUOTED([DEFAULT_VARCH], "$withval", [Default value for --varch switch]),
AC_DEFINE_UNQUOTED([DEFAULT_VARCH], ["vlen:128,elen:64"], [Default value for --varch switch]))
AC_DEFINE([DEFAULT_VARCH], ["vlen:128,elen:64"], [Default value for --varch switch]))

AC_ARG_WITH(target,
[AS_HELP_STRING([--with-target=riscv64-unknown-elf],
Expand Down

0 comments on commit 6483e81

Please sign in to comment.