summaryrefslogtreecommitdiff
path: root/distrib/special
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2021-09-21 18:36:10 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2021-09-21 18:36:10 +0000
commit7e62b4f132182f34d2446f5cdd9deb0849f9921b (patch)
treeefc2507709f83c9f399ba7c7c6f7f4a4112902e5 /distrib/special
parent21e7d4895e44577c626184cef6862ebcba1d8c6d (diff)
The cflags -DSUN_CYLCHECK -DSUN_AAT0 were removed accidently. Put
them back in special like in the main disklabel Makefile. OK deraadt@
Diffstat (limited to 'distrib/special')
-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