From: Matt Turner Date: Mon, 28 Aug 2017 20:52:12 +0000 (-0700) Subject: compiler: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f99bde0dad01bf7c1c89ff3d2553930530848eec;p=mesa.git compiler: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS nir_intrinsics.h does this a lot, causing lots of warnings from clang. Reviewed-by: Emil Velikov Reviewed-by: Eric Engestrom --- diff --git a/src/compiler/Makefile.am b/src/compiler/Makefile.am index 001ff81aeb0..45b9cc58543 100644 --- a/src/compiler/Makefile.am +++ b/src/compiler/Makefile.am @@ -42,6 +42,7 @@ AM_CPPFLAGS = \ AM_CFLAGS = \ $(VISIBILITY_CFLAGS) \ + $(WNO_OVERRIDE_INIT) \ $(MSVC2013_COMPAT_CFLAGS) AM_CXXFLAGS = \