aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@gmail.com>2017-04-29 21:54:52 +0800
committerKito Cheng <kito.cheng@gmail.com>2017-05-03 16:26:18 +0800
commite04630d2b25441f144332a16801f5dd23376c5f1 (patch)
tree83f471d6d3acf75e086a3ab33291105f0e161416
parent9f1f1971208d898705cb19e353e3da28c9f8c4a0 (diff)
downloadriscv-gnu-toolchain-e04630d2b25441f144332a16801f5dd23376c5f1.zip
riscv-gnu-toolchain-e04630d2b25441f144332a16801f5dd23376c5f1.tar.gz
riscv-gnu-toolchain-e04630d2b25441f144332a16801f5dd23376c5f1.tar.bz2
Fix --with-headers= path for newlib toolchain
- Wrong --with-headers= path will cause libgcov build incorrectly.
-rw-r--r--Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index cb43dca..9b3d747 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -252,14 +252,13 @@ stamps/build-gcc-newlib-stage2: $(srcdir)/riscv-gcc stamps/build-newlib
cd $(notdir $@) && $</configure \
--target=riscv$(XLEN)-unknown-elf \
--prefix=$(INSTALL_DIR) \
- --without-headers \
--disable-shared \
--disable-threads \
--enable-languages=c,c++ \
--with-system-zlib \
--enable-tls \
--with-newlib \
- --with-headers=$(INSTALL_DIR)/include \
+ --with-headers=$(INSTALL_DIR)/riscv$(XLEN)-unknown-elf/include \
--disable-libmudflap \
--disable-libssp \
--disable-libquadmath \