X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b7e7f4edf076a53ad9a29ced4067d0f253693999..cd60446ca1b23bf3fae38ba428de2d512e9d9e24:/package/zlib/Makefile diff --git a/package/zlib/Makefile b/package/zlib/Makefile index 9cf92197b..19457c1ac 100644 --- a/package/zlib/Makefile +++ b/package/zlib/Makefile @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk @@ -29,7 +28,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)" \ UNAME_S="Linux" \ ./configure \ --prefix=/usr \ @@ -40,7 +39,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -fPIC $(CFLAGS_LARGEFILE)" \ + CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ libz.a libz.so mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \