summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/zlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 8c7f9f944..19457c1ac 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -39,7 +39,7 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS) -fPIC" \
+ CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
libz.a libz.so
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \