zlib: Fix build
authorLionel Landwerlin <llandwerlin@gmail.com>
Sat, 18 Sep 2010 12:16:46 +0000 (14:16 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 20 Sep 2010 07:21:24 +0000 (09:21 +0200)
Using "make -j $(N)" with N > 1 sometimes breaks zlib build.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/zlib/zlib.mk

diff --git a/CHANGES b/CHANGES
index f8501b4d6c4eb3e052b31a8d5d8490c64273e535..92d06be9624e2b2c2a8aba2c5332f298a0324548 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -24,7 +24,7 @@
        pango, pcre, php, prboom, radvd, qt, samba, sdl_sound,
        shared-mime-info, speex, sqlite, strace, taglib, tcpdump,
        tiff, tn5250, udev, udpcast, usbmount, usbutils, which,
-       xlib_libX11
+       xlib_libX11, zlib
 
        Removed packages: dillo, libglib12, libgtk12, microwin,
        pcmcia
index ad5eda7ad7972f1d3047bc72507d4f20879b6239..751cfc12210fc74a21b41c5e61820a3955ea22a7 100644 (file)
@@ -42,11 +42,11 @@ define HOST_ZLIB_CONFIGURE_CMDS
 endef
 
 define ZLIB_BUILD_CMDS
-       $(MAKE) -C $(@D) all libz.a
+       $(MAKE1) -C $(@D) all libz.a
 endef
 
 define HOST_ZLIB_BUILD_CMDS
-       $(MAKE) -C $(@D) all libz.a
+       $(MAKE1) -C $(@D) all libz.a
 endef
 
 define ZLIB_INSTALL_STAGING_CMDS