diff options
author | Matt Turner <[email protected]> | 2017-07-06 22:19:15 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-08-29 15:20:57 -0700 |
commit | c5d2e2d43f697d4d9d35542f3839fcacaf848885 (patch) | |
tree | b3b1e844ca1dd862b7281a6089987af7e544e677 /src/intel/Makefile.am | |
parent | e4b2b69e828c2ae26730d4643344a0712edeea95 (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/Makefile.am')
-rw-r--r-- | src/intel/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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) |