From b406bcc62e9d93fa4b4d04076cb0776c3deed527 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 20 Oct 2009 08:41:32 +0000 Subject: zlib: replace -fPIC with $(FPIC) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18093 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/zlib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/zlib/Makefile b/package/zlib/Makefile index 8c7f9f944..19457c1ac 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) \ -- cgit v1.2.3