gw6c: pass our CFLAGS

Some objects were not compiled with our CFLAGS.

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

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39941 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2014-03-17 17:14:36 +00:00
parent 1df513bf13
commit 50b907a631

View File

@ -1,12 +1,12 @@
#
# Copyright (C) 2008-2011 OpenWrt.org
# Copyright (C) 2008-2014 OpenWrt.org
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gw6c
PKG_VERSION:=5.1
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://openwrt.linux-appliance.net/sources
@ -33,6 +33,7 @@ GW6C_OPTS:= \
C_COMPILER="$(TARGET_CC) -c -DNO_STDLIBCXX" \
COMPILER="$(TARGET_CXX) -c -DNO_STDLIBCXX" \
CPP_FLAGS="$(TARGET_CFLAGS) -I. -Wall -DNDEBUG $(TARGET_CPPFLAGS)" \
C_FLAGS="$(TARGET_CFLAGS) -I. -Wall -DNDEBUG $(TARGET_CPPFLAGS)" \
RANLIB="$(TARGET_CROSS)ranlib" \
ARCHIVER="$(TARGET_CROSS)ar" \
C_LINKER="$(TARGET_CC)" \