diff options
author | obrien <obrien@FreeBSD.org> | 2000-12-01 09:39:28 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-12-01 09:39:28 +0000 |
commit | cafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68 (patch) | |
tree | bf9398e3cc9469cabb5ad72a85bacda3b33f6e34 /usr.bin/xlint/lint1 | |
parent | f5e9caf11e6f5f34714ba30c65368b7185a6cf6a (diff) | |
download | FreeBSD-src-cafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68.zip FreeBSD-src-cafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68.tar.gz |
The GCC 2.96 snapshots have slightly different rules for finding include
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive. Some were
misspellings of "-I${.CURDIR}" as "-I.".
Diffstat (limited to 'usr.bin/xlint/lint1')
-rw-r--r-- | usr.bin/xlint/lint1/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/xlint/lint1/Makefile b/usr.bin/xlint/lint1/Makefile index fef8dae..ea6c656 100644 --- a/usr.bin/xlint/lint1/Makefile +++ b/usr.bin/xlint/lint1/Makefile @@ -7,7 +7,7 @@ SRCS= cgram.y scan.l mem1.c mem.c err.c main1.c decl.c tree.c func.c \ NOMAN= LDADD+= -ll DPADD+= ${LIBL} -CFLAGS+=-I. +CFLAGS+= -I${.CURDIR} -I. LINTFLAGS=-aehpz BINDIR= /usr/libexec |