summaryrefslogtreecommitdiff
path: root/package/gdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 11:13:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 11:13:04 +0200
commitf4b2d41c3967c66d37af7617eda961c9b0610d40 (patch)
treea1cd9b629e57286c3ca0aff12f0b7606a866a278 /package/gdb
parent768563bdd46d3c278e4aaf30aecb3903d58922ca (diff)
allow static building
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 3b9b3f149..85a40b195 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -16,9 +16,9 @@ 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
+ifeq ($(ADK_STATIC),y)
+TARGET_CFLAGS+= -static
+endif
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS+= ${TARGET_CPPFLAGS} -fPIC