diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ JTENCODE_INCLUDES = -Ilib/jtencode # USER_CFLAGS: user C flags (enable warnings, enable debug info) USER_CFLAGS = -Wall -g -ffunction-sections -fdata-sections -Os -fno-common --function-sections -fdata-sections #USER_CFLAGS += -flto +USER_CFLAGS += --specs=nano.specs # USER_LDFLAGS: user LD flags USER_LDFLAGS = -fno-exceptions -ffunction-sections -fdata-sections -Wl,--gc-sections