From 9708adb16f7b0b684a6de6eec79ae2b44955f669 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 20 Oct 2009 08:41:32 +0000 Subject: [PATCH] zlib: replace -fPIC with $(FPIC) SVN-Revision: 18093 --- package/zlib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \