From 0c9999d99f13b9ef7e225e52062c4f7f5ee4b9cf Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 20 Sep 2021 20:23:45 +0000 Subject: jmc was a bit too eager and deleted the -DSUN_CYLCHECK -DSUN_AAT0 compile options required for sparc64 (partition alignment, in particular) noticed by bluhm during testing --- sbin/disklabel/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sbin') 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 -- cgit v1.2.3