X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b7e7f4edf076a53ad9a29ced4067d0f253693999..c291b847846f5921d669b17478cbf59f0c83ee19:/package/zlib/Makefile diff --git a/package/zlib/Makefile b/package/zlib/Makefile index 9cf92197b..9c8058bfa 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 \