libid3tag: fix broken configure script not using CFLAGS for conftest
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 19 Feb 2013 17:21:57 +0000 (17:21 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 19 Feb 2013 17:21:57 +0000 (17:21 +0000)
This issue can appear when the toolchain must be explicitely configured
for a specific ABI (e.g: floating point on ARM).

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35681 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/libid3tag/Makefile

index 9aee2d9..df98c31 100644 (file)
@@ -38,6 +38,8 @@ endef
 
 TARGET_CFLAGS += $(FPIC)
 
+CONFIGURE_VARS += CC="$(TARGET_CC) $(TARGET_CFLAGS)"
+
 define Build/Configure
        $(call Build/Configure/Default, \
                --enable-shared \