From 5cb6cb193dcdeb98cc5cb311d68045d4dd2e0d6e Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 8 Mar 2014 00:57:42 +0000 Subject: [PATCH] tctool: pass our CXXFLAGS Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@39826 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/tctool/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net/tctool/Makefile b/net/tctool/Makefile index af0ed5680..36a508766 100644 --- a/net/tctool/Makefile +++ b/net/tctool/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2011 OpenWrt.org +# Copyright (C) 2008-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tctool PKG_VERSION:=0.9.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip PKG_SOURCE_URL:=http://download2.berlios.de/speedmodem50b @@ -33,7 +33,10 @@ define Package/tctool/description endef define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR)/src $(TARGET_CONFIGURE_OPTS) tctool + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + $(TARGET_CONFIGURE_OPTS) \ + CXXFLAGS="$(TARGET_CXXFLAGS)" \ + tctool endef define Package/tctool/install