aboutsummaryrefslogtreecommitdiffstats
path: root/package/zlib/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-20 08:41:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-20 08:41:32 +0000
commit975e7ac2fccaf2cd3d427f1f1fa6613308bb8873 (patch)
tree04d1fce04b1a681f121c35c57450e702cdcc6c29 /package/zlib/Makefile
parente218149d728e670cd780d262f6e3f09e8d5e097f (diff)
downloadupstream-975e7ac2fccaf2cd3d427f1f1fa6613308bb8873.tar.gz
upstream-975e7ac2fccaf2cd3d427f1f1fa6613308bb8873.tar.bz2
upstream-975e7ac2fccaf2cd3d427f1f1fa6613308bb8873.zip
zlib: replace -fPIC with $(FPIC)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18093 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/zlib/Makefile')
-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) \