diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -38,9 +38,12 @@ SI5351_INCLUDES = -Ilib/si5351 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 -flto +USER_CFLAGS = -Wall -g -ffunction-sections -fdata-sections -Os -fno-common --function-sections -fdata-sections +#USER_CFLAGS += -flto + # USER_LDFLAGS: user LD flags -USER_LDFLAGS = -flto -fno-exceptions -ffunction-sections -fdata-sections -Wl,--gc-sections +USER_LDFLAGS = -fno-exceptions -ffunction-sections -fdata-sections -Wl,--gc-sections +#USER_LDFLAGS += -flto USER_LDFLAGS += --static #USER_LDFLAGS += -nostartfiles