From 17ddddee10c85dec0765a8329fc466c48c8c0592 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Thu, 11 May 2017 13:56:41 -0700 Subject: [PATCH] Specify -Werror for run_tests builds. --- scripts/gen_run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen_run_tests.py b/scripts/gen_run_tests.py index 9e46ba90..0446c65c 100755 --- a/scripts/gen_run_tests.py +++ b/scripts/gen_run_tests.py @@ -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)