zlib: replace -fPIC with $(FPIC)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 20 Oct 2009 08:41:32 +0000 (08:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 20 Oct 2009 08:41:32 +0000 (08:41 +0000)
SVN-Revision: 18093

package/zlib/Makefile

index 8c7f9f9441f5bf8bd3fa9e89b843345d9d0d3f8f..19457c1ac8db23756abcd42f82960aaa5bed3dc6 100644 (file)
@@ -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) \