Subject: Re: endian.mk proposal
To: Simon J. Gerraty <sjg@crufty.net>
From: Johnny Lam <jlam@jgrind.org>
List: tech-pkg
Date: 04/12/2002 19:36:10
On Fri, Apr 12, 2002 at 05:23:35PM -0700, Simon J. Gerraty wrote:
> Not sure about the rest, but unless you are explicitly
> including MAKEFLAGS in your sub-make commands, the following
> won't achieve much.
>
> >MAKEFLAGS+= MACHINE_ENDIAN="${MACHINE_ENDIAN}"
>
> If using netbsd's make you can do:
>
> .MAKEOVERRIDES+= MACHINE_ENDIAN
>
> to get what you want.
bsd.pkg.mk passes MAKEFLAGS to all sub-makes, so it will be okay.
Cheers,
-- Johnny Lam <jlam@jgrind.org>