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/dri Amputate stack protector warnings,...



details:   https://anonhg.NetBSD.org/src/rev/bfa7e4136c7a
branches:  trunk
changeset: 998687:bfa7e4136c7a
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 26 18:49:35 2019 +0000

description:
Amputate stack protector warnings, instead of trying more band-aids.

diffstat:

 external/mit/xorg/lib/dri/Makefile |  14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diffs (28 lines):

diff -r 3771b63de106 -r bfa7e4136c7a external/mit/xorg/lib/dri/Makefile
--- a/external/mit/xorg/lib/dri/Makefile        Fri Apr 26 18:41:24 2019 +0000
+++ b/external/mit/xorg/lib/dri/Makefile        Fri Apr 26 18:49:35 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2019/04/09 14:47:14 maya Exp $
+# $NetBSD: Makefile,v 1.32 2019/04/26 18:49:35 christos Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
@@ -465,17 +465,7 @@
                        -Wno-error=tautological-constant-out-of-range-compare \
                        -Wno-error=enum-conversion
 
-COPTS.brw_state_batch.c += -Wno-stack-protector
-COPTS.brw_eu_compact.c += -Wno-stack-protector
-COPTS.brw_fs.cpp += -Wno-stack-protector
-COPTS.brw_fs_copy_propagation.cpp += -Wno-stack-protector
-COPTS.brw_fs_reg_allocate.cpp += -Wno-stack-protector
-COPTS.brw_program.c += -Wno-stack-protector
-COPTS.brw_schedule_instructions.cpp += -Wno-stack-protector
-COPTS.brw_vec4.cpp += -Wno-stack-protector
-COPTS.brw_vec4_copy_propagation.cpp += -Wno-stack-protector
-COPTS.brw_vec4_reg_allocate.cpp += -Wno-stack-protector
-COPTS.brw_vec4_visitor.cpp += -Wno-stack-protector
+COPTS+= -Wno-error=stack-protector
 
 .include <bsd.lib.mk>
 .else



Home | Main Index | Thread Index | Old Index