From: John Crispin Date: Fri, 3 Aug 2012 21:35:43 +0000 (+0000) Subject: mgen libc++ fix X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=aa0957531a2b72b438c089a204ab1fdf1f1124ec;p=openwrt%2Fsvn-archive%2Fpackages.git mgen libc++ fix SVN-Revision: 32968 --- 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++" \