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.old Disable lint and explain why.



details:   https://anonhg.NetBSD.org/src/rev/59b23f5648a2
branches:  trunk
changeset: 1027624:59b23f5648a2
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 13 20:53:22 2021 +0000

description:
Disable lint and explain why.

diffstat:

 external/mit/xorg/lib/dri.old/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r fc87b0b1a5f7 -r 59b23f5648a2 external/mit/xorg/lib/dri.old/Makefile
--- a/external/mit/xorg/lib/dri.old/Makefile    Mon Dec 13 08:19:12 2021 +0000
+++ b/external/mit/xorg/lib/dri.old/Makefile    Mon Dec 13 20:53:22 2021 +0000
@@ -1,7 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2021/07/11 20:53:35 mrg Exp $
+# $NetBSD: Makefile,v 1.3 2021/12/13 20:53:22 christos Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
+# XXX: anonymous structs inside anonymous unions don't work.
+NOLINT=yes
+
 .include <bsd.own.mk>
 
 .include "../mesa-which.mk"
@@ -492,6 +495,11 @@
 
 COPTS.u_atomic.c+=     ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-builtin-declaration-mismatch :}
 
+COPTS.brw_eu_compact.c+=       -Wno-error=stack-protector
+COPTS.brw_fs_copy_propagation.cpp+=    -Wno-error=stack-protector
+COPTS.brw_fs.cpp+=     -Wno-error=stack-protector
+COPTS.brw_fs_reg_allocate.cpp+=        -Wno-error=stack-protector
+
 .include <bsd.lib.mk>
 .else
 .include <bsd.inc.mk>



Home | Main Index | Thread Index | Old Index