thttpd: don't use parallel make
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 27 Sep 2010 07:58:45 +0000 (09:58 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 27 Sep 2010 07:58:45 +0000 (09:58 +0200)
The thttpd build system isn't safe for parallel makes, as sometimes
match.o isn't built by the time it is referenced.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/thttpd/thttpd.mk

diff --git a/CHANGES b/CHANGES
index 4fa011f8d0116914ad3bcf6e6257ae5838941b5d..ddace92019ed073d3ec26bfb40d7390ffadd6140 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -32,8 +32,8 @@
        ntfsprogs, ntp, openntpd, openssh, openvpn, oprofile, pango,
        pcre, php, prboom, radvd, qt, samba, sdl_mixer, sdl_sound,
        shared-mime-info, speex, sqlite, squashfs, strace, taglib,
-       tcpdump, tiff, tn5250, udev, udpcast, usbmount, usbutils,
-       which, xlib_libX11, zlib
+       tcpdump, thttpd, tiff, tn5250, udev, udpcast, usbmount,
+       usbutils, which, xlib_libX11, zlib
 
        Deprecated packages: hotplug, lzma
 
index ca72fae1d530136558a25d9697bca17daa7ec078..d32462efdb9d51c940ad15244bae257b7ed7a9e2 100644 (file)
@@ -35,7 +35,7 @@ $(THTTPD_DIR)/.configured: $(THTTPD_DIR)/.unpacked
        touch $(THTTPD_DIR)/.configured
 
 $(THTTPD_DIR)/$(THTTPD_BINARY): $(THTTPD_DIR)/.configured
-       $(MAKE) -C $(THTTPD_DIR)
+       $(MAKE1) -C $(THTTPD_DIR)
 
 $(TARGET_DIR)/$(THTTPD_TARGET_BINARY): $(THTTPD_DIR)/$(THTTPD_BINARY)
        install -D $(THTTPD_DIR)/$(THTTPD_BINARY) $(TARGET_DIR)/$(THTTPD_TARGET_BINARY)