1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/ssp: silence array-bounds warning if present

This warning is triggered on gcc 10 with riscv and makes the build to fail
This commit is contained in:
Alexandre Abadie 2021-02-09 17:10:21 +01:00
parent a51df1fd30
commit f515036c91

View File

@ -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