Fix include directories for crossbuilding.
aicasm is run on the build machine and therefore needs to be compiled and linked against the headers and libraries (resp) of the build machine. Since normally the default include directories are search after any specified on the command line, make sure we don't accidentally pick up machine dependent headers from the kernel compile directory by specifying /usr/include first. This solves the (cross) build problem for ia64. Approved by: gibbs
This commit is contained in:
parent
686e661363
commit
75a1da1e7a
@ -21,7 +21,7 @@ LDADD+= -ll
|
||||
DEPENDFILE=
|
||||
.endif
|
||||
|
||||
CFLAGS+= -nostdinc -I${.CURDIR}/../../.. -I. -I/usr/include
|
||||
CFLAGS+= -I/usr/include -I.
|
||||
NOMAN= noman
|
||||
|
||||
.ifdef DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user