diff options
Diffstat (limited to 'package/gdb/Makefile')
-rw-r--r-- | package/gdb/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile index 5bc8d6de2..85a40b195 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -16,16 +16,17 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -#ifeq ($(ADK_STATIC),y) -#TARGET_CFLAGS+= -static -#endif +ifeq ($(ADK_STATIC),y) +TARGET_CFLAGS+= -static +endif TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) 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 \ + --with-curses --disable-werror \ + --disable-gdbserver \ --enable-static --without-python XAKE_FLAGS+= LDFLAGS='${TARGET_LDFLAGS}' # disable honour cflags stuff |