Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 07:20:50 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        <arch@FreeBSD.org>, Bruce Evans <bde@FreeBSD.org>, Pekka Savola <pekkas@netcore.fi>
Subject:   Re: MAKEOBJDIRPREFIX
Message-ID:  <20020225065837.F34027-100000@gamplex.bde.org>
In-Reply-To: <20020222080208.GB81821@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Feb 2002, Ruslan Ermilov wrote:

> If I am reading the POSIX specs correctly, MAKEOBJDIRPREFIX could
> be easily made to be honoured even if specified on a command line.
> ...
> The attached patch merely moves the `objdir' initialization below
> the MainParseArgs() call, after all command line arguments have
> already been parsed.

Good idea.

> To be honest, the current behavior does not contradict to POSIX
> (which does not say anything about MAKEOBJDIR[PREFIX]), but the
> proposed behavior would help users errouneously attempting to
> set MAKEOBJDIRPREFIX on a command line.

POSIX is mainly specifying the effect of macros on user makefiles,
but I think setting macros on the command line should affect all of
our make configuration files if this is not obviously wrong.

> (It still does not work
> if MAKEOBJDIRPREFIX is set as a make's global.)

Do you mean globals in the make configuration files?

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020225065837.F34027-100000>