Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Mar 2008 11:04:07 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        obrien@freebsd.org
Cc:        hackers@freebsd.org
Subject:   Re: Comments on pmake diffs for building on Linux
Message-ID:  <20080304.110407.1655406638.imp@bsdimp.com>
In-Reply-To: <20080304175810.GE90931@dragon.NUXI.org>
References:  <20080303.224256.635730757.imp@bsdimp.com> <20080304175810.GE90931@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20080304175810.GE90931@dragon.NUXI.org>
            "David O'Brien" <obrien@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



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