summaryrefslogtreecommitdiff
path: root/package/gdbserver/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-17 19:16:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-17 19:16:10 +0100
commit43c7686b4d6afc56d2909c1630ea2eee626490bb (patch)
tree8f7878c63c45c757cf8b6f7ac7fac0783da6bf31 /package/gdbserver/Makefile
parent41f5fc3d3eb0b17faeed0de4ddc736c94054db80 (diff)
allow to build static gdb/strace with static/shared mixed toolchain
Diffstat (limited to 'package/gdbserver/Makefile')
-rw-r--r--package/gdbserver/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile
index e31c4df3c..f254da653 100644
--- a/package/gdbserver/Makefile
+++ b/package/gdbserver/Makefile
@@ -29,7 +29,7 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-ifneq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS_ONLY),)
+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
endif