1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/ssp/Makefile
Gunar Schorcht e90dd16347 tests/ssp: warning stringop-overflow has to be disabled
Newer gcc versions have an option to enable overflow warnings for string operations. This option is enabled by default. For this test, it is necessary to disable this warning if the compiler supports this option.
2019-11-22 13:56:41 +01:00

13 lines
330 B
Makefile

include ../Makefile.tests_common
# avr8, msp430, esp8266 and mips don't support ssp (yet)
FEATURES_BLACKLIST += arch_avr8 arch_esp8266 arch_mips32r2 arch_msp430
USEMODULE += ssp
include $(RIOTBASE)/Makefile.include
ifneq (,$(shell $(CC) --help=warnings | grep '\-Wstringop-overflow='))
CFLAGS += -Wstringop-overflow=0
endif