summaryrefslogtreecommitdiff
path: root/package/gdb/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-20 23:26:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-20 23:27:01 +0200
commita5b4cab910b75253d54a4b0bb07324fcf16dbaa8 (patch)
tree52ce735c0ae72ba0a5a5cf423120d7451eab0f27 /package/gdb/Makefile
parent30780da8a5b800db825b4fd72c715ca2d8203bd7 (diff)
gdb: make static builds work, ugly hack
Diffstat (limited to 'package/gdb/Makefile')
-rw-r--r--package/gdb/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 00390cbd3..f14045daf 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -20,32 +20,26 @@ 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+= --enable-static \
- --without-uiout \
+CONFIGURE_ARGS+= --without-uiout \
--disable-tui \
--disable-gdbtk \
--disable-gdbserver \
--without-x \
--disable-sim \
+ --disable-plugins \
--disable-werror \
--without-python \
--without-included-gettext \
--without-auto-load-safe-path \
--disable-install-libiberty \
--disable-install-libbfd \
+ --with-system-zlib \
--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