summaryrefslogtreecommitdiff
path: root/share/mk/bsd.lkm.mk
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-12-19 19:07:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-12-19 19:07:35 +0000
commit15c1698e444e5e4c4afcc98ea9836b2f9eecd464 (patch)
treee43dc1e89048f5d28010233ad6aef79bea3c413e /share/mk/bsd.lkm.mk
parentc08ef7e452fdca8b5bd1bedc37bb7a9c0fe6c486 (diff)
add PIPE variable, suitable for /etc/mk.conf, to enable gcc -pipe mode
Diffstat (limited to 'share/mk/bsd.lkm.mk')
-rw-r--r--share/mk/bsd.lkm.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk
index 90b65f5cd1d..65f315dfe86 100644
--- a/share/mk/bsd.lkm.mk
+++ b/share/mk/bsd.lkm.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lkm.mk,v 1.12 1997/04/27 21:38:29 millert Exp $
+# $OpenBSD: bsd.lkm.mk,v 1.13 1998/12/19 19:07:33 millert 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} ${PIPE} -D_KERNEL -I${BSDSRCDIR}/sys -I${BSDSRCDIR}/sys/arch
.else
-CFLAGS+= ${COPTS} -D_KERNEL -I/sys -I/sys/arch
+CFLAGS+= ${COPTS} ${PIPE} -D_KERNEL -I/sys -I/sys/arch
.endif
LDFLAGS+= -r