X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/05e6976da2fd9ee5d91bfe8b1aaa2e803158b03a..78202d191b1e0332bd03740e83a3e8c07819810d:/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 \