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 Fix stack protector build.



details:   https://anonhg.NetBSD.org/src/rev/c00774a3251f
branches:  trunk
changeset: 998112:c00774a3251f
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 07 17:31:32 2019 +0000

description:
Fix stack protector build.

diffstat:

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

diffs (33 lines):

diff -r d51b5642fe0f -r c00774a3251f external/mit/xorg/lib/gallium/Makefile
--- a/external/mit/xorg/lib/gallium/Makefile    Sun Apr 07 16:27:41 2019 +0000
+++ b/external/mit/xorg/lib/gallium/Makefile    Sun Apr 07 17:31:32 2019 +0000
@@ -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 @@
 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:



Home | Main Index | Thread Index | Old Index