From 36a3c2cd430cf1dc0cfeba96f84370627f36e149 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 6 Jan 2014 17:57:09 +0100 Subject: workaround libiberty.a problem --- package/gdb/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/gdb/Makefile') diff --git a/package/gdb/Makefile b/package/gdb/Makefile index 6e5acdc32..61d564be7 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -35,10 +35,14 @@ XAKE_FLAGS+= LDFLAGS='${TARGET_LDFLAGS}' # disable honour cflags stuff XAKE_FLAGS+= GCC_HONOUR_COPTS:=s +post-extract: + -mv $(STAGING_DIR)/usr/lib/libiberty.a $(STAGING_DIR)/usr/lib/libiberty.a.bak + gdb-install: ${INSTALL_DIR} ${IDIR_GDB}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/ # shipped libbfd conflicts with system wide one rm -f ${WRKINST}/usr/lib/libbfd* + -mv $(STAGING_DIR)/usr/lib/libiberty.a.bak $(STAGING_DIR)/usr/lib/libiberty.a include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3