Author: ngie
Date: Thu Jan 19 18:07:24 2017
New Revision: 312422
URL: https://svnweb.freebsd.org/changeset/base/312422

Log:
  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

Modified:
  head/lib/libc/x86/sys/Makefile.inc

Modified: head/lib/libc/x86/sys/Makefile.inc
==============================================================================
--- head/lib/libc/x86/sys/Makefile.inc  Thu Jan 19 17:58:08 2017        
(r312421)
+++ head/lib/libc/x86/sys/Makefile.inc  Thu Jan 19 18:07:24 2017        
(r312422)
@@ -5,6 +5,6 @@
 SRCS+= \
        __vdso_gettc.c
 
-.if ${MK_HYPERV} != "no"
+.if ${MACHINE_CPUARCH} == "amd64" && ${MK_HYPERV} != "no"
 CFLAGS+=       -DWANT_HYPERV
 .endif
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to