Specify -Werror for run_tests builds.

This commit is contained in:
Jason Evans 2017-05-11 13:56:41 -07:00
parent 81ef365622
commit 17ddddee10

View File

@ -33,7 +33,7 @@ for cc, cxx in possible_compilers:
and '--enable-prof' in config_opts:
continue
config_line = (
'./configure '
'EXTRA_CFLAGS=-Werror EXTRA_CXXFLAGS=-Werror ./configure '
+ 'CC="{} {}" '.format(cc, " ".join(compiler_opts))
+ 'CXX="{} {}" '.format(cxx, " ".join(compiler_opts))
+ " ".join(config_opts)