udp-broadcast-relay: pass our CFLAGS
authorFlorian Fainelli <[email protected]>
Sat, 8 Mar 2014 00:57:44 +0000 (00:57 +0000)
committerFlorian Fainelli <[email protected]>
Sat, 8 Mar 2014 00:57:44 +0000 (00:57 +0000)
Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 39827

net/udp-broadcast-relay/Makefile

index 9fcdd6c02ca93bf585aad1f21b51f99d32e10fb7..e95f2e1424e723e58f7c28d7ed1e5cf39e1360cd 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-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:=udp-broadcast-relay
 PKG_VERSION:=0.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.joachim-breitner.de/udp-broadcast-relay/files/
@@ -36,11 +36,11 @@ define Package/udp-broadcast-relay/description
        downgoing interfaces yourself.
 endef
 
-define Build/Compile   
-       $(TARGET_CC) $(PKG_BUILD_DIR)/main.c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
+define Build/Compile
+       $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/main.c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
 endef
 
-define Package/udp-broadcast-relay/install     
+define Package/udp-broadcast-relay/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
 endef