diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2010-03-22 15:25:48 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2010-03-22 15:25:48 +0000 |
commit | 6d3f0147c9d9d8f0c2057e79021bf47e98e1a3d0 (patch) | |
tree | 41a904b35a084ec4463664b3ca97617ef2d93ea6 /sbin/fdisk/Makefile | |
parent | 95e75b4583564c5658046a2d8c00605b441cbf74 (diff) |
introduce HAS_MBR and let make define it for the right machines;
requested by miod@; ok miod@ krw@
Diffstat (limited to 'sbin/fdisk/Makefile')
-rw-r--r-- | sbin/fdisk/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/fdisk/Makefile b/sbin/fdisk/Makefile index 4d7cb7f12e3..1f82822b022 100644 --- a/sbin/fdisk/Makefile +++ b/sbin/fdisk/Makefile @@ -1,5 +1,5 @@ # -# $OpenBSD: Makefile,v 1.36 2007/11/25 15:56:28 deraadt Exp $ +# $OpenBSD: Makefile,v 1.37 2010/03/22 15:25:47 otto Exp $ # # Copyright (c) 1997 Tobias Weingartner # All rights reserved. @@ -47,4 +47,10 @@ manual.c: fdisk.cat8 MAN= fdisk.8 +.if ${MACHINE} == "amd64" || ${MACHINE} == "i386" || \ + ${MACHINE} == "landisk" || ${MACHINE} == "loongson" || \ + ${MACHINE} == "macppc" || ${MACHINE} == "socppc" +CFLAGS += -DHAS_MBR +.endif + .include <bsd.prog.mk> |