Turn on lto

This commit is contained in:
Scott Shawcroft 2018-02-15 16:12:58 -08:00
parent 538081528d
commit eb2b41810a

View File

@ -95,7 +95,7 @@ endif
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
# Turn on Python modules useful for debugging (e.g. uheap, ustack). # Turn on Python modules useful for debugging (e.g. uheap, ustack).
CFLAGS += -ggdb CFLAGS += -ggdb
#CFLAGS += -flto CFLAGS += -flto
ifeq ($(CHIP_FAMILY), samd21) ifeq ($(CHIP_FAMILY), samd21)
CFLAGS += -DENABLE_MICRO_TRACE_BUFFER CFLAGS += -DENABLE_MICRO_TRACE_BUFFER
endif endif