aboutsummaryrefslogtreecommitdiffstats
path: root/package/zlib/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-06 22:10:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-06 22:10:29 +0000
commit73a5abbb32c4cbf78bc54913f67c2d14de77e758 (patch)
treebc06ccda968103523489e585554a5750bf412657 /package/zlib/Makefile
parentdf535034341a4080b80a4fd27fe337f446f2a904 (diff)
downloadupstream-73a5abbb32c4cbf78bc54913f67c2d14de77e758.tar.gz
upstream-73a5abbb32c4cbf78bc54913f67c2d14de77e758.tar.bz2
upstream-73a5abbb32c4cbf78bc54913f67c2d14de77e758.zip
use $(FPIC) in a few places where it matters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12225 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 9cf92197b7..9c8058bfa5 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -29,7 +29,7 @@ define Build/Configure
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \
- CFLAGS="$(TARGET_CFLAGS) -fPIC $(CFLAGS_LARGEFILE)" \
+ CFLAGS="$(TARGET_CFLAGS) $(FPIC) $(CFLAGS_LARGEFILE)" \
UNAME_S="Linux" \
./configure \
--prefix=/usr \