From 88f3af0a87fcd090c08fee6d4b6b7ec07cb0f418 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 13 Sep 2013 19:56:57 +0200 Subject: fix gdb mips musl --- package/gdb/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'package/gdb/Makefile') diff --git a/package/gdb/Makefile b/package/gdb/Makefile index 85a40b195..497001359 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -6,7 +6,7 @@ include ${TOPDIR}/toolchain/gdb/Makefile.inc PKG_DESCR:= GNU debugger PKG_SECTION:= debug -PKG_DEPENDS:= libthread-db libncurses libiconv libexpat +PKG_DEPENDS:= libthread-db libncurses libiconv libexpat libgcc PKG_BUILDDEP:= ncurses readline libiconv expat PKG_NOPARALLEL:= 1 @@ -27,14 +27,11 @@ CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \ --without-included-gettext --disable-sim \ --with-curses --disable-werror \ --disable-gdbserver \ - --enable-static --without-python + --without-python XAKE_FLAGS+= LDFLAGS='${TARGET_LDFLAGS}' # disable honour cflags stuff XAKE_FLAGS+= GCC_HONOUR_COPTS:=s -pre-build: - @-rm $(STAGING_TARGET_DIR)/lib/libiberty.a $(STAGING_TARGET_DIR)/usr/lib/libiberty.a - post-install: ${INSTALL_DIR} ${IDIR_GDB}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/ -- cgit v1.2.3 From 5be4c4567a4602d9a2c0445ffa1e5cb68c3a8a41 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 17 Sep 2013 16:03:51 +0200 Subject: fix static building of gdb --- package/gdb/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'package/gdb/Makefile') diff --git a/package/gdb/Makefile b/package/gdb/Makefile index 497001359..3670f731e 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -18,6 +18,7 @@ $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS}, ifeq ($(ADK_STATIC),y) TARGET_CFLAGS+= -static +CONFIGURE_ARGS+= --enable-static endif TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) -- cgit v1.2.3