Browse Source

add comments for static linking

Waldemar Brodkorb 13 years ago
parent
commit
65f1e3e013
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/gdb/Makefile

+ 4 - 0
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 \