diff options
Diffstat (limited to 'scripts/gen_travis.py')
-rwxr-xr-x | scripts/gen_travis.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/gen_travis.py b/scripts/gen_travis.py index 93fe3283..35a10ee6 100755 --- a/scripts/gen_travis.py +++ b/scripts/gen_travis.py @@ -72,7 +72,9 @@ for unusual_combination in unusual_combinations_to_test: if os == 'osx' and '--enable-prof' in configure_flags: continue - env_string = '{} COMPILER_FLAGS="{}" CONFIGURE_FLAGS="{}"'.format( + # We get some spurious errors when -Warray-bounds is enabled. + env_string = ('{} COMPILER_FLAGS="{}" CONFIGURE_FLAGS="{}" ' + 'EXTRA_CFLAGS="-Werror -Wno-array-bounds"').format( compilers, " ".join(compiler_flags), " ".join(configure_flags)) include_rows += ' - os: %s\n' % os |