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