summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/gdbserver/Makefile2
-rw-r--r--package/ncurses/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile
index 4b27ffa1a..52e9f04ef 100644
--- a/package/gdbserver/Makefile
+++ b/package/gdbserver/Makefile
@@ -32,7 +32,7 @@ $(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${P
CONFIGURE_ARGS+= --enable-static
ifneq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS_ONLY)$(ADK_TARGET_USE_STATIC_AND_SHARED_LIBS),)
TARGET_LDFLAGS+= -static-libstdc++
-CONFIGURE_ARGS+= --disable-build-with-cxx --with-libthread-db=$(STAGING_TARGET_DIR)/usr/lib/libthread_db.a
+CONFIGURE_ARGS+= --disable-build-with-cxx --with-libthread-db=$(STAGING_TARGET_DIR)/usr/lib/libthread_db.a --disable-source-highlight
endif
gdbserver-install:
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index dc6e02a15..e0c7e4aa6 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -31,7 +31,7 @@ TARGET_CFLAGS:= $(filter-out -static,$(TARGET_CFLAGS))
TARGET_LDFLAGS:=$(filter-out -static,$(TARGET_LDFLAGS))
endif
-ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
CONFIGURE_ARGS+= --with-static
else
CONFIGURE_ARGS+= --with-shared