diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7ab8a88..7b7c61a 100644 --- a/configure.ac +++ b/configure.ac @@ -90,12 +90,12 @@ case "${BUILD_32BIT}" in echo "Building 32-bit pk" CFLAGS="$default_CFLAGS -m32" LDFLAGS="-m32" - install_subdir="riscv32-unknown-elf" + install_subdir="`echo $host_alias | sed -e 's/64/32/g'`" ;; *) CFLAGS="$default_CFLAGS" LDFLAGS= - install_subdir="riscv64-unknown-elf" + install_subdir=$host_alias ;; esac |