summaryrefslogtreecommitdiff
path: root/sbin/disklabel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/disklabel/Makefile')
-rw-r--r--sbin/disklabel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/disklabel/Makefile b/sbin/disklabel/Makefile
index 15b2102ab2c..78a3fe36c90 100644
--- a/sbin/disklabel/Makefile
+++ b/sbin/disklabel/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.69 2021/06/24 21:11:40 jmc Exp $
+# $OpenBSD: Makefile,v 1.70 2021/09/20 20:23:44 deraadt Exp $
PROG= disklabel
SRCS= disklabel.c dkcksum.c editor.c manual.c
@@ -25,4 +25,8 @@ manual.c: disklabel.cat8
echo '};'; echo 'const int manpage_sz = sizeof(manpage);') > manual.c
.endif
+.if ${MACHINE} == "sparc64"
+CFLAGS+= -DSUN_CYLCHECK -DSUN_AAT0
+.endif
+
.include <bsd.prog.mk>