Module Name:    src
Committed By:   mrg
Date:           Fri Jun  7 12:11:43 UTC 2019

Modified Files:
        src/external/mit/xorg/lib/gallium: Makefile

Log Message:
allow building arm llvmpipe.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/external/mit/xorg/lib/gallium/Makefile

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

Modified files:

Index: src/external/mit/xorg/lib/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.30 src/external/mit/xorg/lib/gallium/Makefile:1.31
--- src/external/mit/xorg/lib/gallium/Makefile:1.30	Fri Jun  7 06:00:05 2019
+++ src/external/mit/xorg/lib/gallium/Makefile	Fri Jun  7 12:11:43 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2019/06/07 06:00:05 mrg Exp $
+# $NetBSD: Makefile,v 1.31 2019/06/07 12:11:43 mrg Exp $
 
 # Link the gallium mega driver.
 
@@ -1009,6 +1009,17 @@ LLVMRT_LIBS+=	\
 		AArch64TargetInfo
 .endif
 
+.if ${MACHINE_CPU} == "arm"
+# XXX duplicates
+LLVMRT_LIBS+=	\
+		ARMCodeGen \
+		ARMTargetInfo \
+		ARMMCTargetDesc \
+		ARMAsmParser \
+		ARMAsmPrinter \
+		ARMUtils
+.endif
+
 LLVMRT_LIBS+=	\
 		GlobalISel \
 		MCDisassembler \

Reply via email to