summaryrefslogtreecommitdiff
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
commite9ea28b0af50ffbcd96639040b6fac539d9b6f3b (patch)
tree2316dcfe92c81751c2b68974e24e6ae7c0b1bafc /package/zlib/Makefile
parent14ac8769b2833e62eea2248296bc60e536aefe00 (diff)
downloadmtk-20170518-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.zip
mtk-20170518-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.tar.gz
mtk-20170518-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.tar.bz2
use $(FPIC) in a few places where it matters
SVN-Revision: 12225
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 9cf9219..9c8058b 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 \