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/libdrm_nouveau Ignore abuse of VLAs.



details:   https://anonhg.NetBSD.org/src/rev/077d78ba6957
branches:  trunk
changeset: 347339:077d78ba6957
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Aug 21 18:23:33 2016 +0000

description:
Ignore abuse of VLAs.

diffstat:

 external/mit/xorg/lib/libdrm_nouveau/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 577c2fdc6f87 -r 077d78ba6957 external/mit/xorg/lib/libdrm_nouveau/Makefile
--- a/external/mit/xorg/lib/libdrm_nouveau/Makefile     Sun Aug 21 17:24:22 2016 +0000
+++ b/external/mit/xorg/lib/libdrm_nouveau/Makefile     Sun Aug 21 18:23:33 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2015/10/13 04:33:21 mrg Exp $
+#      $NetBSD: Makefile,v 1.2 2016/08/21 18:23:33 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -11,6 +11,8 @@
        bufctx.c \
        abi16.c
 
+COPTS.nouveau.c+=      ${${ACTIVE_CC} == "clang":? -Wno-error=gnu-variable-sized-type-not-at-end :}
+
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/libdrm
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm}
 



Home | Main Index | Thread Index | Old Index