summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-07-25 07:07:59 -0700
committerScott Shawcroft <scott@tannewt.org>2018-07-31 05:18:23 -0700
commitb334289669807afff0c0bd7cbb827de0d5e73849 (patch)
treefd325ff16414ed37ef677c1185f4a8f3281c0a2d
parent12cf5e51c29a5a74ced59c6c89af44e93e2de815 (diff)
Reenable LTO for debug.
-rwxr-xr-xports/atmel-samd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile
index 008efb148..249f003f9 100755
--- a/ports/atmel-samd/Makefile
+++ b/ports/atmel-samd/Makefile
@@ -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)