summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>1999-06-23 12:56:18 +0000
committerart <art@openbsd.org>1999-06-23 12:56:18 +0000
commit85722d7e294f8d690ffa35d76ec644cbe344c0e2 (patch)
tree0c0f9e9b2cb60b7ba81c4de58f76a6b1e4d5bba8
parentadd -DUVM if we run UVM (diff)
downloadwireguard-openbsd-85722d7e294f8d690ffa35d76ec644cbe344c0e2.tar.xz
wireguard-openbsd-85722d7e294f8d690ffa35d76ec644cbe344c0e2.zip
add -DUVM to CFLAGS if we run UVM
-rw-r--r--usr.bin/fstat/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/fstat/Makefile b/usr.bin/fstat/Makefile
index 8c6090f327c..fa40fd495ef 100644
--- a/usr.bin/fstat/Makefile
+++ b/usr.bin/fstat/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 1998/06/25 06:21:33 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1999/06/23 12:56:18 art Exp $
PROG= fstat
DPADD= ${LIBKVM}
@@ -8,3 +8,7 @@ BINGRP= kmem
BINMODE=2555
.include <bsd.prog.mk>
+
+.if (${UVM} == "yes")
+CFLAGS+=-DUVM
+.endif