Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2002 15:20:41 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        Poul-Henning Kamp <phk@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: suggested WARNS makefile magic
Message-ID:  <20021129232041.GA27528@dragon.nuxi.com>
In-Reply-To: <1881.1038557926@critter.freebsd.dk>
References:  <1881.1038557926@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 29, 2002 at 09:18:46AM +0100, Poul-Henning Kamp wrote:
> 
> Right now, if I want to ensure that a particular program compiles
> with a WARNS level of no less than 3, I have to put this in the
> Makefile:
> 
> 	WARNS?= 3
> 	.if ${WARNS} < 3
> 	WARNS=  3
> 	.endif

Is this program w/in /usr/src or something else?  If with-in /usr/src, is
sounds like we have Makefile's battling each other and we should fix
that.

Your change would get in the way of toolchain upgrades; as one often
wants to do "make WARNS=0" for the first couple of compiles while working
on the update.

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




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