cvs commit: src/gnu/usr.bin/binutils Makefile.inc0
Ruslan Ermilov
ru at FreeBSD.ORG
Fri Mar 5 07:47:25 PST 2004
On Fri, Mar 05, 2004 at 06:29:18PM +0300, Andrey Chernov wrote:
> On Fri, Mar 05, 2004 at 05:22:47PM +0200, Ruslan Ermilov wrote:
> >
> > But it's added last, by the special version of <bsd.prog.mk> from
> > src/tools/build/mk/.
>
> Why? This way you can't be sure some progam's -I will damage things.
> Just add it first instead.
>
Because what makefiles specifies explicitly (like after your
change does for -I/usr/include in the case where cross-tools
are built) should be preferred. (Consider an unlikely but
still possible case when a tool has its own "getopt.h" with
completely different contents not related to getopt(3).)
As such, bits from ${WORLDTMP} can only be used as a fallback.
I know wonder what happens when you upgrade from RELENG_4 and
tools are built in a host environment without /usr/include/gnu.
All they use /usr/include/regex.h now where they previously used
/usr/include/gnuregex.h. Is this correct? Dangerous?
> > David, remove the damn header please.
>
> Already asked many times...
>
Perhaps that's the problem? ;)
Cheers,
--
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040305/50724a36/attachment.bin
More information about the cvs-all
mailing list