[packages] ndppd libc++ fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32985 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
eae0ffa73f
commit
20763a7794
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ndppd
|
PKG_NAME:=ndppd
|
||||||
PKG_VERSION:=0.2.2
|
PKG_VERSION:=0.2.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
||||||
@ -22,6 +22,7 @@ PKG_MD5SUM:=d90c4b65777a62274c1837dba341e5a8
|
|||||||
#PKG_SOURCE_VERSION=master
|
#PKG_SOURCE_VERSION=master
|
||||||
#PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
|
#PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/ndppd
|
define Package/ndppd
|
||||||
@ -30,7 +31,7 @@ define Package/ndppd
|
|||||||
TITLE:=NDP Proxy Daemon
|
TITLE:=NDP Proxy Daemon
|
||||||
URL:=http://www.priv.nu/projects/ndppd/
|
URL:=http://www.priv.nu/projects/ndppd/
|
||||||
MAINTAINER:=Gabriel Kerneis <kerneis@pps.jussieu.fr>
|
MAINTAINER:=Gabriel Kerneis <kerneis@pps.jussieu.fr>
|
||||||
DEPENDS:=+kmod-ipv6 +uclibcxx
|
DEPENDS:=+kmod-ipv6 $(CXX_DEPENDS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ndppd/description
|
define Package/ndppd/description
|
||||||
@ -51,11 +52,9 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CXX="$(TARGET_CXX)" \
|
CXX="$(TARGET_CXX)" \
|
||||||
CXXFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CXXFLAGS) $(TARGET_CFLAGS) \
|
CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++0x -fno-rtti" \
|
||||||
-std=c++0x -fno-builtin -fno-rtti -nostdinc++ \
|
|
||||||
-I$(STAGING_DIR)/usr/include/uClibc++" \
|
|
||||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
LIBS="-nodefaultlibs -lc -luClibc++ $(LIBGCC_S)" \
|
LIBS="-lc" \
|
||||||
ndppd
|
ndppd
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user