1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Add "CFLAGS+= -I${MAKESRCPATH}" when running under the kernel build,

otherwise #include "aicasm.h" etc do not work with gcc-3 and later.
This commit is contained in:
Peter Wemm 2002-05-01 06:50:59 +00:00
parent 37436e4075
commit 49d8998589
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95862

View File

@ -23,6 +23,9 @@ DEPENDFILE=
.endif
CFLAGS+= -I/usr/include -I.
.ifdef MAKESRCPATH
CFLAGS+= -I${MAKESRCPATH}
.endif
NOMAN= noman
YFLAGS= -b ${.TARGET:R} ${.TARGET:M*macro*:S/$(.TARGET)/-p mm/} -d
LFLAGS+= ${.TARGET:M*macro*:S/$(.TARGET)/-Pmm/}