aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-02-19 17:22:46 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-02-19 17:22:46 +0000
commit4c26324aa82ceece3c668846d34f320256b82f5e (patch)
tree43b62a27be40e878abf65ad2d1a71c4f923d72a9 /package
parent338436797bc4f67e712dcdea702dcd7a7b551709 (diff)
downloadupstream-4c26324aa82ceece3c668846d34f320256b82f5e.tar.gz
upstream-4c26324aa82ceece3c668846d34f320256b82f5e.tar.bz2
upstream-4c26324aa82ceece3c668846d34f320256b82f5e.zip
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 <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35683 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/libs/libiconv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libiconv/Makefile b/package/libs/libiconv/Makefile
index 66d1cfb3b9..d2f5b7edd9 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