diff options
Diffstat (limited to 'package/gdb/Makefile')
-rw-r--r-- | package/gdb/Makefile | 6 |
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 |