From 0f622ee37fa8c64b7f83ea1f57ed669bacc7004e Mon Sep 17 00:00:00 2001 From: wigyori Date: Thu, 6 Feb 2014 09:59:19 +0000 Subject: [PATCH] i2c-tools: honour TARGET_CFLAGS Signed-off-by: Zoltan HERPAI git-svn-id: svn://svn.openwrt.org/openwrt/packages@39500 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/i2c-tools/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/i2c-tools/Makefile b/utils/i2c-tools/Makefile index b2985302c..972170061 100644 --- a/utils/i2c-tools/Makefile +++ b/utils/i2c-tools/Makefile @@ -77,7 +77,8 @@ define Build/Compile LINUX="$(LINUX_DIR)" \ CC="$(TARGET_CC)" \ STAGING_DIR="$(STAGING_DIR)" \ - LDFLAGS="$(TARGET_LDFLAGS)" + LDFLAGS="$(TARGET_LDFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS)" $(Build/Compile/python-smbus) endef