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

makefiles/arch/avr8.inc.mk: Fix compilation with GCC 12.2.0

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 for details
This commit is contained in:
Marian Buschsieweke 2022-08-30 14:26:40 +02:00
parent 57201e7521
commit 7bd23069dc
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -38,3 +38,8 @@ endif
OPTIONAL_CFLAGS_BLACKLIST += -Wformat-overflow
OPTIONAL_CFLAGS_BLACKLIST += -Wformat-truncation
OPTIONAL_CFLAGS_BLACKLIST += -gz
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
ifneq ($(findstring 12.,$(shell $(CC) --version 2>/dev/null)),)
CFLAGS += --param=min-pagesize=0
endif