Date: Mon, 1 Mar 2010 20:09:34 +0800 (CST) From: Jui-Nan Lin <jnlin@csie.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/144388: different behavior of make(1) between command line argument and .MAKEFLAGS special target Message-ID: <20100301120934.3D0518A002@Florence.tamama.org> Resent-Message-ID: <201003011210.o21CA5Hw073787@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144388 >Category: bin >Synopsis: different behavior of make(1) between command line argument and .MAKEFLAGS special target >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 01 12:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jui-Nan Lin >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD Florence.tamama.org 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #8: Thu Jan 7 11:34:24 CST 2010 root@Florence.tamama.org:/usr/obj/usr/src/sys/KERNEL amd64 >Description: There's different behavior of specifying -j1 in command line argument and special target ".MAKEFLAGS" >How-To-Repeat: # cat Makefile .MAKEFLAGS: -j1 all: @/bin/sleep 10 & @/bin/sleep 10 & @wait # time make 0.000u 0.006s 0:00.01 0.0% 0+0k 0+0io 0pf+0w # time make -j1 0.000u 0.006s 0:10.00 0.0% 0+0k 0+0io 0pf+0w >Fix: The behavior should be the same. (running for 10 seconds) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100301120934.3D0518A002>