summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-12-13 23:15:12 +0000
committermarcel <marcel@FreeBSD.org>2000-12-13 23:15:12 +0000
commitde9be251f5c7231015569f5c9d8f33b98b0b3168 (patch)
treed50105527266718797c0cbb08448ac06237a5d10 /sys/dev/aic7xxx
parent6c3562280a54292ac306a87ed5040bbe493b0715 (diff)
downloadFreeBSD-src-de9be251f5c7231015569f5c9d8f33b98b0b3168.zip
FreeBSD-src-de9be251f5c7231015569f5c9d8f33b98b0b3168.tar.gz
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
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r--sys/dev/aic7xxx/aicasm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aicasm/Makefile b/sys/dev/aic7xxx/aicasm/Makefile
index acd6a0c..fbeb0d7 100644
--- a/sys/dev/aic7xxx/aicasm/Makefile
+++ b/sys/dev/aic7xxx/aicasm/Makefile
@@ -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
OpenPOWER on IntegriCloud