mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-15 13:59:06 +08:00
ci: disable GCC's -Wstringop-truncation noisy error
This error is usually a false positive for us. Disable it. Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
committed by
Andrii Nakryiko
parent
33b374395f
commit
4d86cae4f0
@@ -48,6 +48,8 @@ for phase in "${PHASES[@]}"; do
|
||||
elif [[ "$phase" = *"GCC8"* ]]; then
|
||||
ENV_VARS="-e CC=gcc-8 -e CXX=g++-8"
|
||||
CC="gcc-8"
|
||||
else
|
||||
CFLAGS="${CFLAGS} -Wno-stringop-truncation"
|
||||
fi
|
||||
if [[ "$phase" = *"ASAN"* ]]; then
|
||||
CFLAGS="${CFLAGS} -fsanitize=address,undefined"
|
||||
|
||||
Reference in New Issue
Block a user