summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2018-05-23 10:36:59 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2018-05-23 10:36:59 -0700
commit641caaa6dd4d600be22219d4f5105ef84a96794b (patch)
tree1199417167fae9da75cb68a024a35d11368a7953
parent3607d3ba2c3646653e48302d0aa51b30408b40ee (diff)
Gain space back in non-Express builds by using -finline-limit
-rw-r--r--ports/atmel-samd/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile
index ecc8a28a4..d627e7641 100644
--- a/ports/atmel-samd/Makefile
+++ b/ports/atmel-samd/Makefile
@@ -112,8 +112,7 @@ else
# -finline-limit=80 or so is similar to not having it on.
# There is no simple default value, though.
ifdef INTERNAL_FLASH_FILESYSTEM
- ## Not currently needed
- ## CFLAGS += -finline-limit=50
+ CFLAGS += -finline-limit=60
endif
CFLAGS += -flto
endif