From 75a1da1e7af7ce97f3511c8716f7350d04169503 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Wed, 13 Dec 2000 23:15:12 +0000 Subject: 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 --- sys/dev/aic7xxx/aicasm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/aic7xxx/aicasm/Makefile b/sys/dev/aic7xxx/aicasm/Makefile index acd6a0cc5ba38..fbeb0d7baffc3 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 -- cgit v1.3