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/c3ada95880f5
branches:  trunk
changeset: 953015:c3ada95880f5
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 adb39e46ea33 -r c3ada95880f5 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