Module Name: src
Committed By: christos
Date: Mon Dec 13 20:53:23 UTC 2021
Modified Files:
src/external/mit/xorg/lib/dri.old: Makefile
Log Message:
Disable lint and explain why.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/lib/dri.old/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/dri.old/Makefile
diff -u src/external/mit/xorg/lib/dri.old/Makefile:1.2 src/external/mit/xorg/lib/dri.old/Makefile:1.3
--- src/external/mit/xorg/lib/dri.old/Makefile:1.2 Sun Jul 11 16:53:35 2021
+++ src/external/mit/xorg/lib/dri.old/Makefile Mon Dec 13 15:53:22 2021
@@ -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+= -Wno-error=stack-protector
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>