1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/ssp/Makefile
Alexandre Abadie f515036c91 tests/ssp: silence array-bounds warning if present
This warning is triggered on gcc 10 with riscv and makes the build to fail
2021-02-10 09:17:34 +01:00

18 lines
481 B
Makefile

include ../Makefile.tests_common
USEMODULE += ssp
# This test intentionally crashes the firmware and when using a board with
# stdio via CDC ACM, RIOT can't print anything after the crash.
FEATURES_BLACKLIST += highlevel_stdio
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