summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-01-28 16:34:03 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2021-01-28 16:38:39 (GMT)
commit0e3ecbc2a03ef4eb28bbe116faf0b8269a444f46 (patch)
treed49fb00a948bd12a65e4c5c73f023e19452f824a /package
parent9145a8a8d0585ffed48ba74b2f5ddd46f0cc189b (diff)
gdbserver: fix build
Diffstat (limited to 'package')
-rw-r--r--package/gdbserver/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile
index 3974667..4b27ffa 100644
--- a/package/gdbserver/Makefile
+++ b/package/gdbserver/Makefile
@@ -23,12 +23,13 @@ else
DISTFILES:= gdb-${PKG_VERSION}.tar.xz
WRKDIST= ${WRKDIR}/gdb-${PKG_VERSION}
endif
-WRKSRC= ${WRKDIST}/gdb/gdbserver
+WRKBUILD= ${WRKSRC}/build
include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+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