From owner-cvs-all Wed Jan 9 5:36:50 2002 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 2403037B423; Wed, 9 Jan 2002 05:36:36 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id AAA03336; Thu, 10 Jan 2002 00:36:34 +1100 Date: Thu, 10 Jan 2002 00:37:19 +1100 (EST) From: Bruce Evans X-X-Sender: To: Ruslan Ermilov Cc: John Baldwin , , Subject: Re: cvs commit: src/usr.bin/colldef Makefile In-Reply-To: <20020109132933.G41379@sunbay.com> Message-ID: <20020110003133.X8745-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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