From 7a775d62911a20b9f7f6dd2b63818f11baf7591a Mon Sep 17 00:00:00 2001 From: lars Date: Sun, 7 Jul 2013 20:22:35 +0000 Subject: [PATCH] [packages] i2c-tools: Pass LDFLAGS Pass LDFLAGS when building the i2c-tools. This fixes the build under certain exotic configurations. git-svn-id: svn://svn.openwrt.org/openwrt/packages@37188 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 16feedb27..9ef752baa 100644 --- a/utils/i2c-tools/Makefile +++ b/utils/i2c-tools/Makefile @@ -68,7 +68,8 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ LINUX="$(LINUX_DIR)" \ CC="$(TARGET_CC)" \ - STAGING_DIR="$(STAGING_DIR)" + STAGING_DIR="$(STAGING_DIR)" \ + LDFLAGS="$(TARGET_LDFLAGS)" $(Build/Compile/python-smbus) endef