Module Name:    src
Committed By:   maya
Date:           Fri Apr  5 15:22:35 UTC 2019

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
Limit MKLLVMRT being enabled with MKX11 to x86.


To generate a diff of this commit:
cvs rdiff -u -r1.1126 -r1.1127 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.1126 src/share/mk/bsd.own.mk:1.1127
--- src/share/mk/bsd.own.mk:1.1126	Fri Apr  5 15:11:31 2019
+++ src/share/mk/bsd.own.mk	Fri Apr  5 15:22:35 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.1126 2019/04/05 15:11:31 maya Exp $
+#	$NetBSD: bsd.own.mk,v 1.1127 2019/04/05 15:22:35 maya Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -1292,7 +1292,8 @@ HAVE_MESA_VER?=	10
 EXTERNAL_MESALIB_DIR?=	MesaLib.old
 .elif ${HAVE_MESA_VER} == "18"
 EXTERNAL_MESALIB_DIR?=	MesaLib
-.  if ${MKX11} != "no"
+.  if ${MKX11} != "no" && \
+    (${MACHINE} == "amd64" || ${MACHINE} == "i386")
 MKLLVMRT:=		yes
 .  endif
 .endif

Reply via email to