summaryrefslogtreecommitdiff
path: root/package/gdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-09-21 10:40:27 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-09-21 10:40:27 +0200
commit65f1e3e013469022dcd556a27580eef645523cfb (patch)
tree7fe17ad8f706825277ad2b4208cd8db06f028b77 /package/gdb
parentb61e6e18b07d19f08332d4b23f18cee961816d66 (diff)
add comments for static linking
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 223d603d8..5bc8d6de2 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -16,6 +16,10 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+#ifeq ($(ADK_STATIC),y)
+#TARGET_CFLAGS+= -static
+#endif
+
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS+= ${TARGET_CPPFLAGS} -fPIC
CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \