i965: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS
authorMatt Turner <mattst88@gmail.com>
Mon, 28 Aug 2017 20:53:22 +0000 (13:53 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 29 Aug 2017 22:20:57 +0000 (15:20 -0700)
brw_surface_formats.c and genX_blorp_exec.c do this a lot, causing lots
of warnings from clang.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/mesa/drivers/dri/i965/Makefile.am

index f884a530eb2047998ecf0443d217791103b5a9d0..eccca643c3c3c5a766037fd5519876496ba835d9 100644 (file)
@@ -41,6 +41,7 @@ AM_CFLAGS = \
        -I$(top_srcdir)/include/drm-uapi \
        $(DEFINES) \
        $(VISIBILITY_CFLAGS) \
+       $(WNO_OVERRIDE_INIT) \
        $(LIBDRM_CFLAGS) \
        $(VALGRIND_CFLAGS) \
        -msse2