aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-08-01 17:41:38 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-01 17:42:06 +0200
commit61650d51179a68186716a7a1583ca6d3a195237d (patch)
tree04377ce7cc2c91370822331d8e41fa3ef62ce575
parent7869baf843fd10d0fd28f79395f3e7a01eebb8b7 (diff)
jenkins_arm.sh: Use same Werror related options as on other builds
-rwxr-xr-xcontrib/jenkins_arm.sh6
1 files changed, 5 insertions, 1 deletions
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
}