aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-06-20 23:30:36 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-06-20 23:30:40 +0200
commite176a4d047f1bc55707d2d01a95481cac458c446 (patch)
tree70a553d3517e783520f4207342535b2afa9fc7f7
parent082443d2c76e1072cb60e035b759f7eb5881e4fd (diff)
jenkins.sh: use flag --enable-werror for sysmo and none
The lc15 flavour still contains compilation warnings and thus the flag cannot be enabled while building it. Change-Id: I66a43822f8a40764d7d6e09503892cea6030e697
-rwxr-xr-xcontrib/jenkins.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 25271270..5f819789 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -26,7 +26,7 @@ mkdir "$deps" || true
# Collect configure options for osmo-pcu
PCU_CONFIG=""
if [ "$with_dsp" = sysmo ]; then
- PCU_CONFIG="$PCU_CONFIG --enable-sysmocom-dsp --with-sysmobts=$inst/include/"
+ PCU_CONFIG="$PCU_CONFIG --enable-werror --enable-sysmocom-dsp --with-sysmobts=$inst/include/"
# For direct sysmo DSP access, provide the SysmoBTS Layer 1 API
cd "$deps"
@@ -43,7 +43,7 @@ elif [ "$with_dsp" = lc15 ]; then
elif [ -z "$with_dsp" -o "$with_dsp" = none ]; then
echo "Direct DSP access disabled, sanitizer enabled"
- PCU_CONFIG="$PCU_CONFIG --enable-sanitize"
+ PCU_CONFIG="$PCU_CONFIG --enable-werror --enable-sanitize"
else
echo 'Invalid $with_dsp value:' $with_dsp
exit 1