contrib/jenkins: set -Wno-error=address

After changing our CI environment to build with Debian 12,
GCC 12.2.0-14 fails to build linux-dahdi with Werror (default since
linux 5.15). Set -Wno-error=address to not fail the build.

/build/drivers/dahdi/xpp/xbus-core.c:116:13: error: the comparison will always evaluate as 'true' for the address of 'label' will never be NULL [-Werror=address]

/build/drivers/dahdi/dahdi_dynamic_ethmf.c:538:34: error: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Werror=address]

/build/drivers/dahdi/wcte13xp-base.c:2704:13: error: the comparison will always evaluate as 'true' for the address of 'xb' will never be NULL [-Werror=address]

Fixes: OS#6098
Change-Id: Ifc8fb605cb8e0de70e5556b127e22533cbe24c37
This commit is contained in:
Oliver Smith 2023-07-17 13:25:13 +02:00
parent 2f9309267d
commit a210405427
1 changed files with 8 additions and 1 deletions

View File

@ -29,4 +29,11 @@ fi
git log -1 --pretty="%t - %s"
make -j "$JOBS" modules_prepare
make -j "$JOBS" -C "$TOPDIR" KSRC="$KSRC" KBUILD_MODPOST_WARN=1
# Wno-error=address: OS#6098
make \
-j "$JOBS" \
-C "$TOPDIR" \
KSRC="$KSRC" \
KBUILD_MODPOST_WARN=1 \
KCFLAGS="-Wno-error=address"