diff options
author | peter <peter@FreeBSD.org> | 2001-06-12 06:06:18 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-12 06:06:18 +0000 |
commit | 0d48700820a7fa9f8feec4f473b35c2bf8650dcd (patch) | |
tree | 133b882d730f9de5635690bc3b70b6ff57eec4ac /sys/conf/Makefile.alpha | |
parent | a4104a3872a967567a2496a7c088defe41f0efc1 (diff) | |
download | FreeBSD-src-0d48700820a7fa9f8feec4f473b35c2bf8650dcd.zip FreeBSD-src-0d48700820a7fa9f8feec4f473b35c2bf8650dcd.tar.gz |
Move the -I../../../include or -I/usr/include to the last entry on the
cc arguments. Otherwise ipfilter's bogus #include lines will compile
reference /usr/include/netinet/ip_frag.h etc.
Diffstat (limited to 'sys/conf/Makefile.alpha')
-rw-r--r-- | sys/conf/Makefile.alpha | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha index 6fc5507..eb79ab7 100644 --- a/sys/conf/Makefile.alpha +++ b/sys/conf/Makefile.alpha @@ -42,6 +42,11 @@ COPTFLAGS?=-O -pipe COPTFLAGS+= ${_CPUCFLAGS} .endif INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev + +# This hack lets us use the ipfilter code without spamming a new +# include path into 100+ source files. +INCLUDES+= -I$S/contrib/ipfilter + # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include @@ -49,10 +54,6 @@ INCLUDES+= -I$S/../include INCLUDES+= -I/usr/include .endif -# This hack lets us use the ipfilter code without spamming a new -# include path into 100+ source files. -INCLUDES+= -I$S/contrib/ipfilter - COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -include opt_global.h CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS} |