summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-10-20 10:41:57 -0700
committerGitHub <noreply@github.com>2020-10-20 10:41:57 -0700
commit1a677406bf116aaba85656c64d0632fbb60189c2 (patch)
tree988cad3808aff8bddd2bac63f520baaaa45e662f /ports
parent098fd3efd2d24ede727d4f82cd6497f6dd360370 (diff)
parent8beb36c240d162bfb3f12dceb46d409eee26722d (diff)
Merge pull request #3529 from jensechu/color-converter-transparency
displayio: Pass transparent_color to ColorConverter
Diffstat (limited to 'ports')
-rw-r--r--ports/atmel-samd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile
index 111f12b4e..dc7b4e4c8 100644
--- a/ports/atmel-samd/Makefile
+++ b/ports/atmel-samd/Makefile
@@ -121,7 +121,7 @@ $(echo PERIPHERALS_CHIP_FAMILY=$(PERIPHERALS_CHIP_FAMILY))
ifeq ($(DEBUG), 1)
CFLAGS += -ggdb3 -Og
# You may want to disable -flto if it interferes with debugging.
- CFLAGS += -flto
+ CFLAGS += -flto -flto-partition=none
# You may want to enable these flags to make setting breakpoints easier.
# CFLAGS += -fno-inline -fno-ipa-sra
ifeq ($(CHIP_FAMILY), samd21)
@@ -144,7 +144,7 @@ else
CFLAGS += -finline-limit=$(CFLAGS_INLINE_LIMIT)
endif
- CFLAGS += -flto
+ CFLAGS += -flto -flto-partition=none
ifeq ($(CIRCUITPY_FULL_BUILD),0)
CFLAGS += --param inline-unit-growth=15 --param max-inline-insns-auto=20