From c5d2e2d43f697d4d9d35542f3839fcacaf848885 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 6 Jul 2017 22:19:15 -0700 Subject: configure: Test for -Wno-initializer-overrides Clang has "-Wno-initializer-overrides", while gcc has "-Wno-override-init". Quiets a lot of warnings with clang. Reviewed-by: Emil Velikov Reviewed-by: Eric Engestrom --- src/intel/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/Makefile.am') diff --git a/src/intel/Makefile.am b/src/intel/Makefile.am index 9946f6752d0..a34e3014497 100644 --- a/src/intel/Makefile.am +++ b/src/intel/Makefile.am @@ -44,7 +44,7 @@ AM_CPPFLAGS = \ AM_CFLAGS = \ $(VISIBILITY_CFLAGS) \ - -Wno-override-init + $(WNO_OVERRIDE_INIT) MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) -- cgit v1.2.3