From 1df513bf1396351159dc1de3c3456adec8b3dbb6 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 17 Mar 2014 17:14:34 +0000 Subject: [PATCH] lm-sensors: pass our CFLAGS Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@39940 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/lm-sensors/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/lm-sensors/Makefile b/utils/lm-sensors/Makefile index b9039d553..3f14a6d15 100644 --- a/utils/lm-sensors/Makefile +++ b/utils/lm-sensors/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2012 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:=lm-sensors PKG_VERSION:=3.3.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=lm_sensors-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://dl.lm-sensors.org/lm-sensors/releases @@ -70,6 +70,8 @@ define Build/Compile KERNELVERSION="$(LINUX_VERSION)" \ LINUX="$(LINUX_DIR)" \ CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ STAGING_DIR="$(STAGING_DIR)" \ PREFIX="/usr" \ MACHINE="$(ARCH)" \