summaryrefslogtreecommitdiff
path: root/package/gdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-17 16:03:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-17 16:03:51 +0200
commit5be4c4567a4602d9a2c0445ffa1e5cb68c3a8a41 (patch)
treef1ec564b7a3b70a18915671a1a3e0869c5fbae4c /package/gdb
parent29d2f64bccfd2a2944487d4378d2c1d914363b71 (diff)
fix static building of gdb
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 497001359..3670f731e 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -18,6 +18,7 @@ $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},
ifeq ($(ADK_STATIC),y)
TARGET_CFLAGS+= -static
+CONFIGURE_ARGS+= --enable-static
endif
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))