Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/arch/vax/net



On Sun, Jun 06, 2004 at 01:26:01PM +0000, Havard Eidnes wrote:
  | 
  | Module Name:        src
  | Committed By:       he
  | Date:               Sun Jun  6 13:26:01 UTC 2004
  | 
  | Modified Files:
  |     src/lib/libc/arch/vax/net: Makefile.inc
  | 
  | Log Message:
  | It appears necessary to add -I. to CPPFLAGS for nslexer.c.  This is
  | most probably caused by gcc 2.95.3; will be documented in doc/HACKS.
  | Reviewed by ragge.

This is a common issue for "auto generated" header files that end up
in ${.OBJDIR} (which could be the srcdir ${.CURDIR} if you're not
using objdirs).

I don't consider it a hack to require that we need to explicitly
add -I. to CPPFLAGS to successfully reference #include header
files created in the .OBJDIR by an earlier part of the build
process.  Note that you still need to add such header files to
DPSRCS in the Makefile to ensure that the build dependency ordering
is correct.

Luke.

Attachment: pgpjpaLit1Lsx.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index