From 78fc6bd91ad5dfa459daef397da5cd29ed21d818 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 17 Mar 2014 17:14:31 +0000 Subject: [PATCH] cwiid: pass our CFLAGS 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 git-svn-id: svn://svn.openwrt.org/openwrt/packages@39939 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/cwiid/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/utils/cwiid/Makefile b/utils/cwiid/Makefile index 4a79f9d6e..91a033066 100644 --- a/utils/cwiid/Makefile +++ b/utils/cwiid/Makefile @@ -1,5 +1,5 @@ # -# 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. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk 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/ @@ -69,8 +69,7 @@ endef 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