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:
parent
37436e4075
commit
49d8998589
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95862
@ -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/}
|
||||
|
Loading…
Reference in New Issue
Block a user