Comments on pmake diffs for building on Linux
M. Warner Losh
imp at bsdimp.com
Tue Mar 4 18:04:29 UTC 2008
In message: <20080304175810.GE90931 at dragon.NUXI.org>
"David O'Brien" <obrien at freebsd.org> writes:
: On Mon, Mar 03, 2008 at 10:42:56PM -0700, M. Warner Losh wrote:
: > #include "arch.h"
: > +#include "config.h"
:
: Are you able to use "CFLAGS+= -include config.h" instead?
: If so, that would mean less .[ch] changes.
It turns out that there's an even easier way to do this. If I just
package a custom err.h with the stock cdefs.h and queue.h, I can avoid
almost all the other changes. I'm working on testing that scenario
right now.
But that is a good point...
Warner
More information about the freebsd-hackers
mailing list