From 37248560d1f09033661ae5325c07c7ad8cb6f1d2 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Mon, 21 Jul 2014 14:29:52 +0200 Subject: [PATCH] tool chain: disable -Werror for building GDB Thanks to @duralog for reporting the issue! Fixes #1214 --- tool/tool_chain | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tool/tool_chain b/tool/tool_chain index 21c9d8b84..24ffd5dde 100755 --- a/tool/tool_chain +++ b/tool/tool_chain @@ -240,6 +240,11 @@ BINUTILS_CONFIG += CFLAGS=-DTE_LINUX # BINUTILS_CONFIG += $(BINUTILS_CONFIG_$(PLATFORM)) +# +# GDB configure arguments +# +GDB_CONFIG += $(COMMON_CONFIG) --disable-werror + # # Dummy libc symbols to resolve unresolved references when linking # 'libgcc_s.so'. Even though, this library is not used on Genode, we want the @@ -501,7 +506,7 @@ build/$(PLATFORM)/gdb/Makefile: $(CONTRIB_DIR)/gdb-$(GDB_VERSION)/configure $(ECHO) "$(BRIGHT_COL)configuring gdb...$(DEFAULT_COL)" $(VERBOSE)mkdir -p $(dir $@) $(VERBOSE)cd $(dir $@); \ - ../../../$(CONTRIB_DIR)/gdb-$(GDB_VERSION)/configure $(COMMON_CONFIG) + ../../../$(CONTRIB_DIR)/gdb-$(GDB_VERSION)/configure $(GDB_CONFIG) $(GDB_BINARIES): build/$(PLATFORM)/gdb/Makefile $(ECHO) "$(BRIGHT_COL)builing gdb...$(DEFAULT_COL)"