summaryrefslogtreecommitdiff
path: root/distrib/special/disklabel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/special/disklabel/Makefile')
-rw-r--r--distrib/special/disklabel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/distrib/special/disklabel/Makefile b/distrib/special/disklabel/Makefile
index 9841d687f43..38e61d3a315 100644
--- a/distrib/special/disklabel/Makefile
+++ b/distrib/special/disklabel/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2021/06/24 21:11:40 jmc Exp $
+# $OpenBSD: Makefile,v 1.13 2021/09/21 18:36:09 bluhm Exp $
PROG= disklabel
SRCS= disklabel.c dkcksum.c editor.c manual.c
@@ -25,6 +25,10 @@ manual.c: disklabel.cat8
echo '};'; echo 'const int manpage_sz = sizeof(manpage);') > manual.c
.endif
+.if ${MACHINE} == "sparc64"
+CFLAGS+= -DSUN_CYLCHECK -DSUN_AAT0
+.endif
+
.ifdef NOPIC
CFLAGS+= -DSTATICLINKING
.endif