Only conditionally add in hyperv support if we're building amd64

This unbreaks the build because the assembly is written for x64.

MFC after:	3 weeks
X-MFC with:	r312418
Pointyhat to:	ngie
Reported by:	Jenkins (i386 job)
Sponsored by:	Dell EMC Isilon
This commit is contained in:
ngie 2017-01-19 18:07:24 +00:00
parent 8d8e2ef9e3
commit 3866301f96

View File

@ -5,6 +5,6 @@
SRCS+= \
__vdso_gettc.c
.if ${MK_HYPERV} != "no"
.if ${MACHINE_CPUARCH} == "amd64" && ${MK_HYPERV} != "no"
CFLAGS+= -DWANT_HYPERV
.endif