aboutsummaryrefslogtreecommitdiff
path: root/.shippable.yml
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2018-06-26 10:04:49 +0200
committerJérôme Forissier <jerome.forissier@linaro.org>2018-06-26 14:12:51 +0200
commitbeb065df6ee53d014366068a138ccdb780b733d0 (patch)
tree22af7d216696dffdee395a15323aa658b4590fab /.shippable.yml
parent0d39a8dd13e0e926d3003a40d3a26354c4f0a0f7 (diff)
Do not set -Werror by default
Having -Werror turned on by default can be annoying, because not everyone uses the same compiler, and different compiler versions have different warnings. Therefore, provide CFG_WERROR to turn it on instead. Enable CFG_WERROR in the CI scripts because we still don't want warnings with the officially supported compilers. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Diffstat (limited to '.shippable.yml')
-rw-r--r--.shippable.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.shippable.yml b/.shippable.yml
index 019801db..29897c6e 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -13,6 +13,7 @@ build:
- export CROSS_COMPILE32="ccache arm-linux-gnueabihf-"
- export CROSS_COMPILE64="ccache aarch64-linux-gnu-"
- export CFG_DEBUG_INFO=n; export CCACHE_UNIFY=true
+ - export CFG_WERROR=y
- function _make() { make -j$(getconf _NPROCESSORS_ONLN) -s O=out $* && ccache -s && ccache -z; }
- ccache -z