aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-05-22 11:24:52 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-05-22 11:24:52 -0700
commitdf1de97f2baceb77e8a623c1f9556993c853a193 (patch)
tree535d1c544b342db8238733948e026b64301f65c2
parent14bbe5a2e5725cf624874f4c5e35e3333287e728 (diff)
downloadriscv-tools-df1de97f2baceb77e8a623c1f9556993c853a193.zip
riscv-tools-df1de97f2baceb77e8a623c1f9556993c853a193.tar.gz
riscv-tools-df1de97f2baceb77e8a623c1f9556993c853a193.tar.bz2
Disable -Werror when building OpenOCD
It appears that newer GCC versions don't like some of our macros. Since OpenOCD defaults to --enable-werror, it'll blow up on those platforms.
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index eb9cf6a..556bf1f 100755
--- a/build.sh
+++ b/build.sh
@@ -7,7 +7,7 @@
echo "Starting RISC-V Toolchain build process"
-build_project riscv-openocd --prefix=$RISCV --enable-remote-bitbang --enable-jtag_vpi
+build_project riscv-openocd --prefix=$RISCV --enable-remote-bitbang --enable-jtag_vpi --disable-werror
build_project riscv-fesvr --prefix=$RISCV
build_project riscv-isa-sim --prefix=$RISCV --with-fesvr=$RISCV
build_project riscv-gnu-toolchain --prefix=$RISCV