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 | |
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')
-rw-r--r-- | usr.bin/mklocale/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/xlint/lint1/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile index 3bad524..022d41e 100644 --- a/usr.bin/mklocale/Makefile +++ b/usr.bin/mklocale/Makefile @@ -3,7 +3,7 @@ PROG= mklocale SRCS= yacc.y lex.l y.tab.h -CFLAGS+=-I. +CFLAGS+= -I${.CURDIR} MAN1= mklocale.1 .include <bsd.prog.mk> 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 |