mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
e90dd16347
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.
13 lines
330 B
Makefile
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
|