Subject: Re: make(1) hack to get NetBSD tools working on Mac OS X
To: Jason R Thorpe <>
From: Simon J. Gerraty <>
List: tech-toolchain
Date: 03/14/2003 00:22:40
>So, yesterday I managed to get the tools finally building on a Mac OS X


>My patch only eliminates the former; command line settings of variables
>still override settings in the Makefile (which is required for proper
>operation when e.g. building the tools).

The patch to make looks reasonable, though is it worth burning an option
char (must be running low ;-) an environment variable would do just

>Note that I'm not entirely happy with the patch to; the -X is only
>necessary when building in src/tools, so if someone could clue me in how to
>set the flag when we descend into src/tools or when we build from there
>directly, that'd be keen.

You can add something to the command line given to sub-makes using