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
This commit is contained in:
parent
082443d2c7
commit
e176a4d047
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue