From beb065df6ee53d014366068a138ccdb780b733d0 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Tue, 26 Jun 2018 10:04:49 +0200 Subject: 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 Reviewed-by: Joakim Bech --- .shippable.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.shippable.yml') 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 -- cgit v1.2.3