summaryrefslogtreecommitdiff
path: root/package/gdb/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:45:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:45:05 +0100
commit6c3f7bc5593343058ab91c0b504fd67d3c0d1269 (patch)
treef57aae2e39a3e60895f08b6e93e95d1d5af1c8c5 /package/gdb/Makefile
parent52549131197cd42dd61b50721e3f68e3d7585ec7 (diff)
parent3953de124e87ce3b594fd861b6f111b2df706753 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gdb/Makefile')
-rw-r--r--package/gdb/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 5d3d60806..5e9f706d1 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -16,13 +16,15 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= ${TCPPFLAGS} -fPIC
+TARGET_CFLAGS+= ${TARGET_CPPFLAGS} -fPIC
CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \
--disable-tui --disable-gdbtk --without-x \
--without-included-gettext --disable-sim \
--enable-threads --with-curses --disable-werror \
--enable-static --without-python
-XAKE_FLAGS+= LDFLAGS='${TLDFLAGS}'
+XAKE_FLAGS+= LDFLAGS='${TARGET_LDFLAGS}'
+# disable honour cflags stuff
+XAKE_FLAGS+= GCC_HONOUR_COPTS:=s
post-install:
${INSTALL_DIR} ${IDIR_GDB}/usr/bin