summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2019-12-02 14:39:00 +0100
committerChristophe Lyon <christophe.lyon@linaro.org>2019-12-02 14:59:40 +0100
commitc3ca769a3fa39f93d413134b12df28563d1d7223 (patch)
tree0f373dc08bfd585c756c51b23b93e3ff6e95fabd
parentdd4d89d30d89ec3ebca1a89c33fc81a628ed4e05 (diff)
build-cross-gcc.sh: Build glibc with --disable-werror
GCC now warns on some code contained at least in glibc-2.29. Using --disable-werror enables the build to complete.
-rwxr-xr-xbuild-cross-gcc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-cross-gcc.sh b/build-cross-gcc.sh
index b742b02..482bb73 100755
--- a/build-cross-gcc.sh
+++ b/build-cross-gcc.sh
@@ -979,6 +979,7 @@ esac
--prefix=/usr \
--with-headers="${sysroot}/usr/include" \
--host="${target}" \
+ --disable-werror \
--disable-profile --without-gd --without-cvs --enable-obsolete-rpc || exit ${BUILDERROR}
;;
esac