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
@ -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…
x
Reference in New Issue
Block a user