From 61650d51179a68186716a7a1583ca6d3a195237d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 1 Aug 2018 17:41:38 +0200 Subject: jenkins_arm.sh: Use same Werror related options as on other builds Change-Id: I45ab11b461a35923853f38b5bedd5025f53cc5b5 --- contrib/jenkins_arm.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/jenkins_arm.sh b/contrib/jenkins_arm.sh index 8229fc85..1d72f2f5 100755 --- a/contrib/jenkins_arm.sh +++ b/contrib/jenkins_arm.sh @@ -2,6 +2,10 @@ . $(dirname "$0")/jenkins_common.sh + +# from ../configure.ac +WERROR_FLAGS="-Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp" + src_dir="$PWD" build() { build_dir="$1" @@ -14,7 +18,7 @@ build() { --enable-embedded \ --disable-doxygen \ --disable-shared \ - CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror" + CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs $WERROR_FLAGS" $MAKE $PARALLEL_MAKE } -- cgit v1.2.3