From: bluhm Date: Tue, 21 Sep 2021 18:36:09 +0000 (+0000) Subject: The cflags -DSUN_CYLCHECK -DSUN_AAT0 were removed accidently. Put X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=160d5e5c986cf050931003bdb1514adbffad0383;p=openbsd The cflags -DSUN_CYLCHECK -DSUN_AAT0 were removed accidently. Put them back in special like in the main disklabel Makefile. OK deraadt@ --- 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