Module Name:    src
Committed By:   joerg
Date:           Tue Feb 23 15:16:43 UTC 2021

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

Log Message:
Don't hard-code LLVM version, but pick it up from build glue.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 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.44 src/external/mit/xorg/lib/gallium/Makefile:1.45
--- src/external/mit/xorg/lib/gallium/Makefile:1.44	Sat Apr  4 03:04:58 2020
+++ src/external/mit/xorg/lib/gallium/Makefile	Tue Feb 23 15:16:43 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2020/04/04 03:04:58 christos Exp $
+# $NetBSD: Makefile,v 1.45 2021/02/23 15:16:43 joerg Exp $
 
 # Link the gallium mega driver.
 
@@ -1114,8 +1114,8 @@ CPPFLAGS.streaming-load-memcpy.c+= -msse
 CPPFLAGS.i386+= -march=i586
 CPPFLAGS+=	${CPPFLAGS.${XORG_MACHINE_ARCH:U${MACHINE_ARCH}}}
 
-CPPFLAGS.r600_pipe_common.c+=	-DMESA_LLVM_VERSION_STRING=\"9.0.0\"
-CPPFLAGS.si_get.c+=	-DMESA_LLVM_VERSION_STRING=\"9.0.0\"
+CPPFLAGS.r600_pipe_common.c+=	-DMESA_LLVM_VERSION_STRING=\"${LLVM_VERSION}\"
+CPPFLAGS.si_get.c+=	-DMESA_LLVM_VERSION_STRING=\"${LLVM_VERSION}\"
 
 .include "../driver.mk"
 

Reply via email to