diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-09-20 20:23:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-09-20 20:23:45 +0000 |
commit | 0c9999d99f13b9ef7e225e52062c4f7f5ee4b9cf (patch) | |
tree | 152355601973ca07ea78f8ba12aa474c4df00609 /sbin | |
parent | f60b3ad98572516de5b5a2bc30c2561d57617052 (diff) |
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
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/disklabel/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 <bsd.prog.mk> |