From: Felix Fietkau Date: Tue, 20 Oct 2009 08:41:32 +0000 (+0000) Subject: zlib: replace -fPIC with $(FPIC) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=525885a860e30dc520a353dc64b89ae8040ef6f9;p=openwrt%2Fsvn-archive%2Farchive.git zlib: replace -fPIC with $(FPIC) SVN-Revision: 18093 --- 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) \