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 workaround gcc/vax bugs



details:   https://anonhg.NetBSD.org/src/rev/5206ccbdcd84
branches:  trunk
changeset: 998089:5206ccbdcd84
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Apr 07 08:14:20 2019 +0000

description:
workaround gcc/vax bugs

diffstat:

 external/mit/xorg/lib/libglsl.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r d348c61f6389 -r 5206ccbdcd84 external/mit/xorg/lib/libglsl.mk
--- a/external/mit/xorg/lib/libglsl.mk  Sun Apr 07 05:29:00 2019 +0000
+++ b/external/mit/xorg/lib/libglsl.mk  Sun Apr 07 08:14:20 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: libglsl.mk,v 1.4 2019/03/10 10:51:58 mrg Exp $
+#      $NetBSD: libglsl.mk,v 1.5 2019/04/07 08:14:20 maya Exp $
 
 LIBGLSL_GENERATED_CXX_FILES = \
        glsl_lexer.cpp \
@@ -127,6 +127,13 @@
        nir_types.cpp \
        shader_enums.c
 
+# XXX
+.if ${MACHINE} == "vax"
+COPTS.ir_constant_expression.cpp+=     -O0
+COPTS.ir.cpp+= -O0
+COPTS.nir_constant_expressions.c+=     -O0
+.endif
+
 LIBGLCPP_GENERATED_FILES = \
        glcpp-lex.c \
        glcpp-parse.c



Home | Main Index | Thread Index | Old Index