aboutsummaryrefslogtreecommitdiffstats
path: root/package/zlib
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
commite9ea28b0af50ffbcd96639040b6fac539d9b6f3b (patch)
tree2316dcfe92c81751c2b68974e24e6ae7c0b1bafc /package/zlib
parent14ac8769b2833e62eea2248296bc60e536aefe00 (diff)
downloadupstream-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.tar.gz
upstream-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.tar.bz2
upstream-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.zip
use $(FPIC) in a few places where it matters
SVN-Revision: 12225
Diffstat (limited to 'package/zlib')
-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 \