summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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))