aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-12-04 16:04:49 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-12-04 16:04:49 -0800
commit2991201a5263ee9e88ca380d53383cf67e3eae59 (patch)
treebfe36338fc5547fe9462aa35a8fcb6219498a74d
parent40c85225b8f0e6a5739ada844f48acc94c0a3600 (diff)
downloadriscv-tools-2991201a5263ee9e88ca380d53383cf67e3eae59.zip
riscv-tools-2991201a5263ee9e88ca380d53383cf67e3eae59.tar.gz
riscv-tools-2991201a5263ee9e88ca380d53383cf67e3eae59.tar.bz2
Use correct --host= setting for pk
This fixes the Darwin build.
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 1134854..fd7cf58 100755
--- a/build.sh
+++ b/build.sh
@@ -10,7 +10,7 @@ echo "Starting RISC-V Toolchain build process"
build_project riscv-fesvr --prefix=$RISCV
build_project riscv-isa-sim --prefix=$RISCV --with-fesvr=$RISCV
build_project riscv-gnu-toolchain --prefix=$RISCV
-CC=riscv64-unknown-elf-gcc build_project riscv-pk --prefix=$RISCV/riscv64-unknown-elf --host=riscv
+build_project riscv-pk --prefix=$RISCV/riscv64-unknown-elf --host=riscv64-unknown-elf
# ignore translation files from qemu
#cd riscv-qemu; git update-index --assume-unchanged po/*; cd ..
#build_project riscv-qemu --prefix=$RISCV --target-list=riscv-softmmu