From: Matt Turner Date: Mon, 28 Aug 2017 20:53:22 +0000 (-0700) Subject: i965: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e99dcfd80302fb2bd21436f64a78ada0f48cc649;p=mesa.git i965: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS brw_surface_formats.c and genX_blorp_exec.c do this a lot, causing lots of warnings from clang. Reviewed-by: Emil Velikov Reviewed-by: Eric Engestrom --- diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index f884a530eb2..eccca643c3c 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -41,6 +41,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/include/drm-uapi \ $(DEFINES) \ $(VISIBILITY_CFLAGS) \ + $(WNO_OVERRIDE_INIT) \ $(LIBDRM_CFLAGS) \ $(VALGRIND_CFLAGS) \ -msse2