From 8e29f31073e3f76d9a5f2862bccc1b7f0f978db8 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 19 Feb 2013 17:22:46 +0000 Subject: libiconv: compile iconv stub with TARGET_CFLAGS Fixes spurious build issues when changing target CFLAGS for specific ABI options (such as ARM's floating point ABI). Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35683 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/libs/libiconv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/libs') diff --git a/package/libs/libiconv/Makefile b/package/libs/libiconv/Makefile index 66d1cfb3b..d2f5b7edd 100644 --- a/package/libs/libiconv/Makefile +++ b/package/libs/libiconv/Makefile @@ -36,7 +36,7 @@ define Build/Configure endef define Build/Compile - $(TARGET_CC) -c $(PKG_BUILD_DIR)/iconv.c -o $(PKG_BUILD_DIR)/iconv.o -I$(PKG_BUILD_DIR)/include $(FPIC) + $(TARGET_CC) $(TARGET_CFLAGS) -c $(PKG_BUILD_DIR)/iconv.c -o $(PKG_BUILD_DIR)/iconv.o -I$(PKG_BUILD_DIR)/include $(FPIC) $(TARGET_CROSS)ar rcs $(PKG_BUILD_DIR)/libiconv.a $(PKG_BUILD_DIR)/iconv.o endef -- cgit v1.2.3