From f99bde0dad01bf7c1c89ff3d2553930530848eec Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 28 Aug 2017 13:52:12 -0700 Subject: [PATCH] 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 --- src/compiler/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 = \ -- 2.30.2