From 9f424007d63a411bfb4ca46dabb4f0ba843ab568 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 3 Aug 2012 21:35:43 +0000 Subject: [PATCH] [packages] mgen libc++ fix git-svn-id: svn://svn.openwrt.org/openwrt/packages@32968 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/mgen/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/mgen/Makefile b/net/mgen/Makefile index 1e7e30fed..d93314552 100644 --- a/net/mgen/Makefile +++ b/net/mgen/Makefile @@ -17,13 +17,14 @@ PKG_MD5SUM:=1e467131446d649c8a0aebdcd8e5f2a9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) +include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk define Package/mgen TITLE:=Multi-Generator SECTION:=net CATEGORY:=Network - DEPENDS:=+libpthread +uclibcxx + DEPENDS:=+libpthread $(CXX_DEPENDS) URL:=http://cs.itd.nrl.navy.mil/work/mgen/ endef @@ -37,7 +38,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/unix \ - CC="g++-uc" \ + CC="$(TARGET_CXX)" \ CPPFLAGS="$(TARGET_CPPFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ SYSTEM_LIBS="-ldl -lpthread -luClibc++" \