Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2002 00:37:19 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        John Baldwin <jhb@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/usr.bin/colldef Makefile
Message-ID:  <20020110003133.X8745-100000@gamplex.bde.org>
In-Reply-To: <20020109132933.G41379@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Jan 2002, Ruslan Ermilov wrote:

> On Tue, Jan 08, 2002 at 12:13:23AM -0800, John Baldwin wrote:
> > jhb         2002/01/08 00:13:23 PST
> >
> >   Modified files:
> >     usr.bin/colldef      Makefile
> >   Log:
> >   Use -I${.OBJDIR} -I${.CURDIR} rather than -I. so that this compiles in a
> >   cross-build environment.
> >
> >   Revision  Changes    Path
> >   1.18      +1 -1      src/usr.bin/colldef/Makefile
> >
> Why do we need -I${.CURDIR}?  AFAIK, -nostdinc doesn't enforce -I-.

parse.y #includes "common.h", and gcc-3.mumble apparently broke the
magic that makes it possible for common.h to be found (the generated
file parse.c contains a #line statement that gives the full path to
the source file parse.y, and compilers are apparently supposed to use
this to resolve ""-style includes).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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