diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-02-19 17:22:46 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-02-19 17:22:46 +0000 |
commit | 23dc20197949cb8e9c6fdc8b3df0269f84967172 (patch) | |
tree | f26b690eeef51350afe32e18cf667e324732965f | |
parent | 76b797c75966220e5b6a35d3f6e72e595febe957 (diff) | |
download | mtk-20170518-23dc20197949cb8e9c6fdc8b3df0269f84967172.zip mtk-20170518-23dc20197949cb8e9c6fdc8b3df0269f84967172.tar.gz mtk-20170518-23dc20197949cb8e9c6fdc8b3df0269f84967172.tar.bz2 |
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>
SVN-Revision: 35683
-rw-r--r-- | package/libs/libiconv/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libiconv/Makefile b/package/libs/libiconv/Makefile index 66d1cfb..d2f5b7e 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 |