mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-24 10:19: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
|
||||
ENV_VARS="-e CC=gcc-10 -e CXX=g++-10"
|
||||
CC="gcc-10"
|
||||
CFLAGS="${CFLAGS} -Wno-stringop-truncation"
|
||||
else
|
||||
CFLAGS="${CFLAGS} -Wno-stringop-truncation"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user