summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2001-09-11 00:06:28 +0000
committerjason <jason@openbsd.org>2001-09-11 00:06:28 +0000
commit244360f33200d3415813d1e416bb65a566bb33af (patch)
treeadc9cb20b112b80bc6fce3b83d43a11093709a2a
parentadd fgen (diff)
downloadwireguard-openbsd-244360f33200d3415813d1e416bb65a566bb33af.tar.xz
wireguard-openbsd-244360f33200d3415813d1e416bb65a566bb33af.zip
gcc on sparc64 needs -O0 or it barfs
-rw-r--r--usr.bin/xlint/lint1/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/xlint/lint1/Makefile b/usr.bin/xlint/lint1/Makefile
index e46f647fc1f..6caf124f2c6 100644
--- a/usr.bin/xlint/lint1/Makefile
+++ b/usr.bin/xlint/lint1/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 1996/06/26 05:44:07 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2001/09/11 00:06:28 jason Exp $
# $NetBSD: Makefile,v 1.3 1995/07/04 01:53:05 cgd Exp $
PROG= lint1
@@ -14,7 +14,10 @@ CLEANFILES+=y.tab.h cgram.c scan.c
BINDIR= /usr/libexec
-# XXX: -O causes the gcc to die on the i386, when compiling tree.o
+ XXX: -O causes the gcc to die on the i386, when compiling tree.o
CFLAGS+= -DXXX_BROKEN_GCC
+.if (${MACHINE_ARCH} == "sparc64")
+CFLAGS+= -O0
+.endif
.include <bsd.prog.mk>