compiler: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS
authorMatt Turner <mattst88@gmail.com>
Mon, 28 Aug 2017 20:52:12 +0000 (13:52 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 29 Aug 2017 22:20:57 +0000 (15:20 -0700)
nir_intrinsics.h does 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/compiler/Makefile.am

index 001ff81aeb05b7db56bb7cfe14e03eb0e2268db0..45b9cc58543eded44a78439c94372db362924a6d 100644 (file)
@@ -42,6 +42,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        $(VISIBILITY_CFLAGS) \
+       $(WNO_OVERRIDE_INIT) \
        $(MSVC2013_COMPAT_CFLAGS)
 
 AM_CXXFLAGS = \