The Makefile logic in cwiid is slightly complicated, overriding CC
turned out to be a non-intrusive way to pass down our CFLAGS.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39939
#
-# Copyright (C) 2010 OpenWrt.org
+# Copyright (C) 2010-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=cwiid
PKG_VERSION:=0.6.00
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://abstrakraft.org/cwiid/downloads/
define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)" \
- CC="$(TARGET_CC)" \
- OFLAGS="$(TARGET_CFLAGS)" \
+ CC="$(TARGET_CC) $(TARGET_CFLAGS)" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) -L../libcwiid/" \
all