Reenable LTO for debug.

This commit is contained in:
Scott Shawcroft 2018-07-25 07:07:59 -07:00
parent 12cf5e51c2
commit b334289669
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA

View File

@ -106,7 +106,7 @@ ifeq ($(DEBUG), 1)
# Turn on Python modules useful for debugging (e.g. uheap, ustack).
CFLAGS += -ggdb
# You may want to disable -flto if it interferes with debugging.
#CFLAGS += -flto
CFLAGS += -flto
# You may want to enable these flags to make setting breakpoints easier.
## CFLAGS += -fno-inline -fno-ipa-sra
ifeq ($(CHIP_FAMILY), samd21)