summaryrefslogtreecommitdiffstats
path: root/lib/libkvm
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-10-09 05:12:54 +0000
committerkmacy <kmacy@FreeBSD.org>2006-10-09 05:12:54 +0000
commitea415a0be8ba6b606c2ebf27d7b3ef4f2782c65a (patch)
tree3714ca076054b943b3601bec3d541cf67b04d261 /lib/libkvm
parenta37c943bc52b02965de08225c3f83ab1f4e202e0 (diff)
downloadFreeBSD-src-ea415a0be8ba6b606c2ebf27d7b3ef4f2782c65a.zip
FreeBSD-src-ea415a0be8ba6b606c2ebf27d7b3ef4f2782c65a.tar.gz
unbreak build for sparc64 etc.
TARGET won't be defined on non subarches Approved by: rwatson (mentor) Reviewed by: jmg
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile
index 2cb7690..50b254b 100644
--- a/lib/libkvm/Makefile
+++ b/lib/libkvm/Makefile
@@ -4,7 +4,8 @@
LIB= kvm
SHLIBDIR?= /lib
CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
-.if ${TARGET} == "sun4v"
+
+.if ${MACHINE} == "sun4v"
CFLAGS+=-DSUN4V
.endif
OpenPOWER on IntegriCloud