From 7e62b4f132182f34d2446f5cdd9deb0849f9921b Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Tue, 21 Sep 2021 18:36:10 +0000 Subject: The cflags -DSUN_CYLCHECK -DSUN_AAT0 were removed accidently. Put them back in special like in the main disklabel Makefile. OK deraadt@ --- distrib/special/disklabel/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'distrib/special') 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 -- cgit v1.2.3