From: Florian Fainelli Date: Sat, 8 Mar 2014 00:57:19 +0000 (+0000) Subject: ntripclient: pass our CFLAGS X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=25c851c8deba3e1b9233df086bc3cc3ec6dc5124;p=openwrt%2Fsvn-archive%2Farchive.git ntripclient: pass our CFLAGS Signed-off-by: Florian Fainelli SVN-Revision: 39817 --- diff --git a/net/ntripclient/Makefile b/net/ntripclient/Makefile index baf5177fe5..d36e8a67b9 100644 --- a/net/ntripclient/Makefile +++ b/net/ntripclient/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ntripclient PKG_VERSION:=1.5.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME).zip PKG_SOURCE_URL:=http://igs.bkg.bund.de/root_ftp/NTRIP/software/ @@ -36,6 +36,9 @@ define Build/Prepare unzip $(DL_DIR)/$(PKG_SOURCE) -d $(PKG_BUILD_DIR) endef +MAKE_FLAGS += \ + OPTS="$(TARGET_CFLAGS)" + define Package/ntripclient/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntripclient $(1)/usr/bin/