diff options
author | 2000-06-18 23:21:47 +0000 | |
---|---|---|
committer | 2000-06-18 23:21:47 +0000 | |
commit | f5e14fb4e5bea429d94cf70825c7e3377fb3dfc5 (patch) | |
tree | 9e3f5457353f5edfdf3608dc656b090247f46c39 | |
parent | ifaliases goes away. (diff) | |
download | wireguard-openbsd-f5e14fb4e5bea429d94cf70825c7e3377fb3dfc5.tar.xz wireguard-openbsd-f5e14fb4e5bea429d94cf70825c7e3377fb3dfc5.zip |
(CFLAGS): add _LKM so kernel header files behave nicely.
-rw-r--r-- | share/mk/bsd.lkm.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk index 04e313e51b7..f879c1fd6c8 100644 --- a/share/mk/bsd.lkm.mk +++ b/share/mk/bsd.lkm.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lkm.mk,v 1.14 1998/12/31 23:49:45 millert Exp $ +# $OpenBSD: bsd.lkm.mk,v 1.15 2000/06/18 23:21:47 assar Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -12,9 +12,9 @@ # to the tree we're actually belonging to we check BSDSRCDIR. On multi-tree # machines /sys isn't always a link to the correct tree. .if defined(BSDSRCDIR) -CFLAGS+= ${COPTS} -D_KERNEL -I${BSDSRCDIR}/sys -I${BSDSRCDIR}/sys/arch +CFLAGS+= ${COPTS} -D_KERNEL -D_LKM -I${BSDSRCDIR}/sys -I${BSDSRCDIR}/sys/arch .else -CFLAGS+= ${COPTS} -D_KERNEL -I/sys -I/sys/arch +CFLAGS+= ${COPTS} -D_KERNEL -D_LKM -I/sys -I/sys/arch .endif LDFLAGS+= -r |