From owner-freebsd-bugs Wed Aug 13 17:10:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA09065 for bugs-outgoing; Wed, 13 Aug 1997 17:10:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA09053; Wed, 13 Aug 1997 17:10:02 -0700 (PDT) Date: Wed, 13 Aug 1997 17:10:02 -0700 (PDT) Message-Id: <199708140010.RAA09053@hub.freebsd.org> To: freebsd-bugs Cc: From: Steve Passe Subject: Re: bin/4291: /usr/bin/make - inconsistent -j flag parsing Reply-To: Steve Passe Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/4291; it has been noted by GNATS. From: Steve Passe To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: bin/4291: /usr/bin/make - inconsistent -j flag parsing Date: Wed, 13 Aug 1997 18:05:16 -0600 Hi, > >Number: 4291 > >Category: bin > >Synopsis: /usr/bin/make - inconsistent -j flag parsing > >Description: > > /usr/bin/make can be used in two modes: with "parallel" > jobs (set with -j flag) and in "compat mode" (-B flag). > > Currently "compat mode" is set by default (no -j nor -B > flags given) and if -B flag is given despite of presence/absence > of -j flag. > > BUT "compat mode" is also set without using -B flag > if -j flag follows some "variable definition" on a command > line or in the MAKEFLAGS environment variable. > > >How-To-Repeat: > > 1) > make -j12 VAR=val all > > will work in "parallel mode", whereas > > make VAR=val -j12 all > > will set "compat mode". the supplied fix looks OK, but would this "fix" break any standard? Specifically, is there a standard we adhere to that says that all '-' options should preceed variable defines and other command line arguments? -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD