From 3f5db15584f7d1d39e29cf71f58530de6ed60dcd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 3 Aug 2017 21:44:48 +0200 Subject: gdb: fix compile, --enable-static is required --- package/gdb-microblaze/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'package/gdb-microblaze') diff --git a/package/gdb-microblaze/Makefile b/package/gdb-microblaze/Makefile index a25278330..cf1aff40d 100644 --- a/package/gdb-microblaze/Makefile +++ b/package/gdb-microblaze/Makefile @@ -20,8 +20,8 @@ include ${ADK_TOPDIR}/mk/package.mk $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -TARGET_CFLAGS+= ${TARGET_CPPFLAGS} -fPIC -CONFIGURE_ARGS+= --without-uiout \ +CONFIGURE_ARGS+= --enable-static \ + --without-uiout \ --disable-tui \ --disable-gdbtk \ --disable-gdbserver \ @@ -36,15 +36,9 @@ CONFIGURE_ARGS+= --without-uiout \ --with-curses \ --enable-gdbmi -XAKE_FLAGS+= LDFLAGS='${TARGET_LDFLAGS}' -# disable honour cflags stuff -XAKE_FLAGS+= GCC_HONOUR_COPTS:=s - 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* include ${ADK_TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3