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:
parent
2f9309267d
commit
a210405427
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue