123456789101112 |
- --- a/Makefile
- +++ b/Makefile
- @@ -32,7 +32,7 @@ cc-option=$(shell if test -z "`$(1) $(2)
- CFLAGS := -I$(OUT) -Isrc -I$(OUT)board-generic/ -std=gnu11 -O2 -MD \
- -Wall -Wold-style-definition $(call cc-option,$(CC),-Wtype-limits,) \
- -ffunction-sections -fdata-sections -fno-delete-null-pointer-checks
- -CFLAGS += -flto -fwhole-program -fno-use-linker-plugin -ggdb3
- +CFLAGS += -flto -fwhole-program -fno-use-linker-plugin -ggdb3 --specs=rdimon.specs
-
- OBJS_klipper.elf = $(patsubst %.c, $(OUT)src/%.o,$(src-y))
- OBJS_klipper.elf += $(OUT)compile_time_request.o
|