Gain space back in non-Express builds by using -finline-limit

This commit is contained in:
Scott Shawcroft 2018-05-23 10:36:59 -07:00
parent 3607d3ba2c
commit 641caaa6dd

View File

@ -112,8 +112,7 @@ else
# -finline-limit=80 or so is similar to not having it on. # -finline-limit=80 or so is similar to not having it on.
# There is no simple default value, though. # There is no simple default value, though.
ifdef INTERNAL_FLASH_FILESYSTEM ifdef INTERNAL_FLASH_FILESYSTEM
## Not currently needed CFLAGS += -finline-limit=60
## CFLAGS += -finline-limit=50
endif endif
CFLAGS += -flto CFLAGS += -flto
endif endif