[OpenWrt-Devel] [PATCH 2/2] toolchain/gcc/final: Add --disable-werror
Jeff Waugh
jdub at bethesignal.org
Wed Mar 4 13:58:00 EST 2015
Hi all,
This was the least dirty way I could find to stop the build blowing up
with a maybe-uninitialized error. The code in question hadn't changed
upstream, either... at least until it was removed.
Thanks,
Jeff
I'm not convinced this is the right thing to do, but it's required
for libgo to build from gcc 4.9. Thus, separate commit / patch.
Signed-off-by: Jeff Waugh <jdub at bethesignal.org>
---
toolchain/gcc/final/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile
index 3fb5ccf..955c92b 100644
--- a/toolchain/gcc/final/Makefile
+++ b/toolchain/gcc/final/Makefile
@@ -8,7 +8,8 @@ GCC_CONFIGURE += \
--enable-languages=$(TARGET_LANGUAGES) \
--enable-shared \
--enable-threads \
- --with-slibdir=$(TOOLCHAIN_DIR)/lib
+ --with-slibdir=$(TOOLCHAIN_DIR)/lib \
+ --disable-werror
ifneq ($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),)
GCC_CONFIGURE += \
--
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list