mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-11 02:59:07 +08:00
ci: disable -Wstringop-truncation for GCC10 configurations as well
We used to have it disabled for GCC8, but now GCC10 is false-report same warnings, so disable stringop-truncation warnigs for GCC10 as well. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
8a670b7422
commit
8fa229c455
@@ -52,6 +52,7 @@ for phase in "${PHASES[@]}"; do
|
|||||||
elif [[ "$phase" = *"GCC10"* ]]; then
|
elif [[ "$phase" = *"GCC10"* ]]; then
|
||||||
ENV_VARS="-e CC=gcc-10 -e CXX=g++-10"
|
ENV_VARS="-e CC=gcc-10 -e CXX=g++-10"
|
||||||
CC="gcc-10"
|
CC="gcc-10"
|
||||||
|
CFLAGS="${CFLAGS} -Wno-stringop-truncation"
|
||||||
else
|
else
|
||||||
CFLAGS="${CFLAGS} -Wno-stringop-truncation"
|
CFLAGS="${CFLAGS} -Wno-stringop-truncation"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user