From 6d3f0147c9d9d8f0c2057e79021bf47e98e1a3d0 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 22 Mar 2010 15:25:48 +0000 Subject: introduce HAS_MBR and let make define it for the right machines; requested by miod@; ok miod@ krw@ --- sbin/fdisk/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sbin/fdisk/Makefile') 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 -- cgit v1.2.3