ntripserver: pass our CFLAGS
authorFlorian Fainelli <florian@openwrt.org>
Sat, 8 Mar 2014 00:57:26 +0000 (00:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 8 Mar 2014 00:57:26 +0000 (00:57 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39820

net/ntripserver/Makefile

index de1d7ee14fdff734a89825898c8cbb70f165c958..d588aae92e2ab27fc6268709b3ad624d1a17b2f1 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ntripserver
 PKG_VERSION:=1.5.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME).zip
 PKG_SOURCE_URL:=http://igs.bkg.bund.de/root_ftp/NTRIP/software/
@@ -31,6 +31,9 @@ define Package/ntripserver/description
   Ntrip Version 2.0 Command Line Server, reading from SISNeT Server, TCP/UDP IP Port, Serial port, or NtripCaster to support an Ntrip Version 1.0 or 2.0 Caster
 endef
 
+MAKE_FLAGS += \
+       OPTS="$(TARGET_CFLAGS)"
+
 define Build/Prepare
        mkdir -p $(PKG_BUILD_DIR)
        unzip $(DL_DIR)/$(PKG_SOURCE) -d $(PKG_BUILD_DIR)