Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/gallium Don't hard-code LLVM version, ...



details:   https://anonhg.NetBSD.org/src/rev/f950bc0090db
branches:  trunk
changeset: 959750:f950bc0090db
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Feb 23 15:16:43 2021 +0000

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

diffstat:

 external/mit/xorg/lib/gallium/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 13a6cb3c2c81 -r f950bc0090db external/mit/xorg/lib/gallium/Makefile
--- a/external/mit/xorg/lib/gallium/Makefile    Tue Feb 23 15:09:27 2021 +0000
+++ b/external/mit/xorg/lib/gallium/Makefile    Tue Feb 23 15:16:43 2021 +0000
@@ -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.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"
 



Home | Main Index | Thread Index | Old Index