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=9708adb16f7b0b684a6de6eec79ae2b44955f669;p=openwrt%2Fstaging%2Flinusw.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) \