tool chain: disable -Werror for building GDB

Thanks to @duralog for reporting the issue!

Fixes #1214
This commit is contained in:
Norman Feske 2014-07-21 14:29:52 +02:00
parent 5d06078d27
commit 37248560d1

View File

@ -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)"