aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libiconv
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libiconv')
-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