diff options
-rw-r--r-- | package/gdb-microblaze/Makefile | 10 | ||||
-rw-r--r-- | package/gdb/Makefile | 4 |
2 files changed, 5 insertions, 9 deletions
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 diff --git a/package/gdb/Makefile b/package/gdb/Makefile index f14045daf..321c8e72e 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -20,7 +20,9 @@ include ${ADK_TOPDIR}/mk/package.mk $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_ARGS+= --without-uiout \ +# --enable-static is required to build libbfd.a +CONFIGURE_ARGS+= --enable-static \ + --without-uiout \ --disable-tui \ --disable-gdbtk \ --disable-gdbserver \ |