diff options
author | Jack Lloyd <[email protected]> | 2019-11-29 11:01:53 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-12-03 05:17:55 -0500 |
commit | f6ce13ec1259f0e7daf816ff46a89846dab24aa6 (patch) | |
tree | f772f8e5a7a6f2bfa042b83878016624a352930a /src/scripts | |
parent | 4aa90eb8e530ae611fba712b54c7a73720c2ad60 (diff) |
Add -Werror mode for CI build
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/ci_build.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripts/ci_build.py b/src/scripts/ci_build.py index b75b52e84..b212f33bc 100755 --- a/src/scripts/ci_build.py +++ b/src/scripts/ci_build.py @@ -70,6 +70,9 @@ def determine_flags(target, target_os, target_cpu, target_cc, cc_bin, ccache, ro '--os=%s' % (target_os)] build_targets = ['cli', 'tests'] + if target_cc in ['gcc', 'clang'] and target != 'gcc4.8': + flags += ['--werror-mode'] + if target_cpu is not None: flags += ['--cpu=%s' % (target_cpu)] |