[package] wide-dhcpv6:
[openwrt/svn-archive/archive.git] / ipv6 / wide-dhcpv6 / Makefile
index 64c03d1..6e3a3e4 100644 (file)
@@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=wide-dhcpv6
 PKG_VERSION:=20080615
-PKG_RELEASE:=4
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
@@ -73,6 +73,8 @@ define Package/wide-dhcpv6-control/description
        This package installs the client and server control utility.
 endef
 
+TARGET_CFLAGS+=-D_GNU_SOURCE
+
 define Build/Configure
        $(call Build/Configure/Default,--with-localdbdir=/var)
 endef
@@ -80,6 +82,7 @@ endef
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
+               EXTRA_CFLAGS="-include debug.h" \
                all 
 endef