Module Name:    src
Committed By:   christos
Date:           Sun Apr  7 17:31:32 UTC 2019

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

Log Message:
Fix stack protector build.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 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.21 src/external/mit/xorg/lib/gallium/Makefile:1.22
--- src/external/mit/xorg/lib/gallium/Makefile:1.21	Sun Apr  7 01:28:09 2019
+++ src/external/mit/xorg/lib/gallium/Makefile	Sun Apr  7 13:31:32 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2019/04/07 05:28:09 rin Exp $
+# $NetBSD: Makefile,v 1.22 2019/04/07 17:31:32 christos Exp $
 
 # Link the gallium mega driver.
 
@@ -1126,6 +1126,23 @@ SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}
 COPTS+=	${${ACTIVE_CC} == "clang":? -Wa,-Av8plus  :}
 .endif
 
+.for f in \
+	dd_context.c \
+	draw.c \
+	nir_from_ssa.c \
+	nir_inline_functions.c \
+	nir_instr_set.c \
+	nir_instr_set.c \
+	nir_liveness.c \
+	nir_lower_registers_to_ssa.c \
+	nir_lower_regs_to_ssa.c \
+	nir_phi_builder.c \
+	shaderapi.c \
+	spirv_to_nir.c \
+	vtn_cfg.c
+COPTS.${f}+=-Wno-error=stack-protector
+.endfor
+
 .include <bsd.lib.mk>
 # Don't regenerate c files
 .y.c:

Reply via email to