summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-12-31 23:49:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-12-31 23:49:47 +0000
commit69b9fcafc2c0143f3a66fb1fc309bf52b40ccd81 (patch)
treebe35590fbfc080fafed1638909cf38e267a4272c /share/mk
parent55d93ba9b208ae6a0efc29a6c95ff5aa41eca32b (diff)
Add ${PIPE} in sys.mk so we do no need to add all over the places; evanc@concer.to
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.lib.mk4
-rw-r--r--share/mk/bsd.lkm.mk6
-rw-r--r--share/mk/bsd.prog.mk4
-rw-r--r--share/mk/sys.mk4
4 files changed, 9 insertions, 9 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 8913ebf0326..7aac8a284ee 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lib.mk,v 1.17 1998/12/19 19:07:33 millert Exp $
+# $OpenBSD: bsd.lib.mk,v 1.18 1998/12/31 23:49:45 millert Exp $
# $NetBSD: bsd.lib.mk,v 1.67 1996/01/17 20:39:26 mycroft Exp $
# @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
@@ -83,7 +83,7 @@ SHLIB_MINOR != . ${.CURDIR}/shlib_version ; echo $$minor
@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
-CFLAGS+= ${COPTS} ${PIPE}
+CFLAGS+= ${COPTS}
.if !defined(PICFLAG) && (${MACHINE_ARCH} != "mips")
PICFLAG=-fpic
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk
index 65f315dfe86..04e313e51b7 100644
--- a/share/mk/bsd.lkm.mk
+++ b/share/mk/bsd.lkm.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lkm.mk,v 1.13 1998/12/19 19:07:33 millert Exp $
+# $OpenBSD: bsd.lkm.mk,v 1.14 1998/12/31 23:49:45 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} ${PIPE} -D_KERNEL -I${BSDSRCDIR}/sys -I${BSDSRCDIR}/sys/arch
+CFLAGS+= ${COPTS} -D_KERNEL -I${BSDSRCDIR}/sys -I${BSDSRCDIR}/sys/arch
.else
-CFLAGS+= ${COPTS} ${PIPE} -D_KERNEL -I/sys -I/sys/arch
+CFLAGS+= ${COPTS} -D_KERNEL -I/sys -I/sys/arch
.endif
LDFLAGS+= -r
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index adcbc26a7be..7a815f880f1 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.prog.mk,v 1.17 1998/12/19 19:07:34 millert Exp $
+# $OpenBSD: bsd.prog.mk,v 1.18 1998/12/31 23:49:46 millert Exp $
# $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
@@ -10,7 +10,7 @@
.SUFFIXES: .out .o .c .cc .C .cxx .y .l .s .8 .7 .6 .5 .4 .3 .2 .1 .0
-CFLAGS+= ${COPTS} ${PIPE}
+CFLAGS+= ${COPTS}
.if (${MACHINE_ARCH} == "powerpc")
CRTBEGIN?= ${DESTDIR}/usr/lib/crtbegin.o
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index b25de308655..586327e90ed 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: sys.mk,v 1.17 1998/09/15 21:36:24 deraadt Exp $
+# $OpenBSD: sys.mk,v 1.18 1998/12/31 23:49:46 millert Exp $
# $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $
# @(#)sys.mk 5.11 (Berkeley) 3/13/91
@@ -31,7 +31,7 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS} -c
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
-CFLAGS?= -O2 ${DEBUG}
+CFLAGS?= -O2 ${PIPE} ${DEBUG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}