From f515036c914b563fbe68e11b92459d50b9597643 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 9 Feb 2021 17:10:21 +0100 Subject: [PATCH] tests/ssp: silence array-bounds warning if present This warning is triggered on gcc 10 with riscv and makes the build to fail --- tests/ssp/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/ssp/Makefile b/tests/ssp/Makefile index 8c13adedf6..9e141f5c99 100644 --- a/tests/ssp/Makefile +++ b/tests/ssp/Makefile @@ -11,3 +11,7 @@ include $(RIOTBASE)/Makefile.include ifneq (,$(shell $(CC) --help=warnings | grep '\-Wstringop-overflow=')) CFLAGS += -Wstringop-overflow=0 endif + +ifneq (,$(shell $(CC) --help=warnings | grep '\-Warray-bounds=')) + CFLAGS += -Warray-bounds=0 +endif