summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-20 08:41:32 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-20 08:41:32 +0000
commitb406bcc62e9d93fa4b4d04076cb0776c3deed527 (patch)
tree04d1fce04b1a681f121c35c57450e702cdcc6c29
parent43770b88170117ae4e2be5b9c10ffe815e1af197 (diff)
zlib: replace -fPIC with $(FPIC)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18093 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/zlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 8c7f9f9441..19457c1ac8 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) \