From 1ffe8d167589dfe358e44f08131cba3792b6b464 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Sat, 8 Mar 2014 00:57:59 +0000
Subject: [PATCH] amwall: pass our CFLAGS

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39833
---
 net/amwall/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net/amwall/Makefile b/net/amwall/Makefile
index 3acf3d4a0..c1cd29bf8 100644
--- a/net/amwall/Makefile
+++ b/net/amwall/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2011 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:=amwall
 PKG_VERSION:=0.1.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.amselinux.net/source/
@@ -32,6 +32,7 @@ define Build/Compile
 		V= \
 		LDIR="$(PKG_BUILD_DIR)" \
 		AMSEL_INCLUDE="$(STAGING_DIR)/usr/include" \
+		OPT_CFLAGS="$(TARGET_CFLAGS)" \
 		OPT_LDFLAGS="$(TARGET_LDFLAGS)" \
 		PREFIX="/usr" \
 		CONFIG="$(PKG_BUILD_DIR)/etc/amsel" \
-- 
2.30.2