We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 543073b commit 8beb36cCopy full SHA for 8beb36c
ports/atmel-samd/Makefile
@@ -121,7 +121,7 @@ $(echo PERIPHERALS_CHIP_FAMILY=$(PERIPHERALS_CHIP_FAMILY))
121
ifeq ($(DEBUG), 1)
122
CFLAGS += -ggdb3 -Og
123
# You may want to disable -flto if it interferes with debugging.
124
- CFLAGS += -flto
+ CFLAGS += -flto -flto-partition=none
125
# You may want to enable these flags to make setting breakpoints easier.
126
# CFLAGS += -fno-inline -fno-ipa-sra
127
ifeq ($(CHIP_FAMILY), samd21)
@@ -144,7 +144,7 @@ else
144
CFLAGS += -finline-limit=$(CFLAGS_INLINE_LIMIT)
145
endif
146
147
148
149
ifeq ($(CIRCUITPY_FULL_BUILD),0)
150
CFLAGS += --param inline-unit-growth=15 --param max-inline-insns-auto=20
0 commit comments