mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
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.
This commit is contained in:
parent
74c0cc3878
commit
e90dd16347
@ -6,3 +6,7 @@ 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user