zlib: replace -fPIC with $(FPIC)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 20 Oct 2009 08:41:32 +0000 (08:41 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 20 Oct 2009 08:41:32 +0000 (08:41 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18093 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/zlib/Makefile

index 8c7f9f9..19457c1 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) \
This page took 0.044819 seconds and 4 git commands to generate.