summaryrefslogtreecommitdiff
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-11-07 17:55:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-11-07 17:55:48 +0000
commitc1c70565c0fa16f17f0e9666dcd86bf171f2ef6f (patch)
tree43088dee4c51067e9a480361e0de9b1752d55bdb /share/mk/sys.mk
parente66ad2c66ca3fdb116b584f6e3a808428940af58 (diff)
use cc -pipe on most architectures; agreed by a lot
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 4d4e4c9ccfd..177fc6015ab 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: sys.mk,v 1.39 2004/09/20 18:52:37 espie Exp $
+# $OpenBSD: sys.mk,v 1.40 2004/11/07 17:55:47 deraadt Exp $
# $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $
# @(#)sys.mk 5.11 (Berkeley) 3/13/91
@@ -32,6 +32,10 @@ LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
+.if ${MACHINE_ARCH} != "m88k"
+PIPE= -pipe
+.endif
+
CFLAGS?= -O2 ${PIPE} ${DEBUG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}