summaryrefslogtreecommitdiff
path: root/sbin/fdisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fdisk/Makefile')
-rw-r--r--sbin/fdisk/Makefile8
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>