Revert "Makefile: Don't disable gcc's use-linker-plugin option"

This reverts commit 8087200ffe.

The change can break the build on some versions of gcc.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2025-04-16 15:07:51 -04:00
parent 4aa2250221
commit 017371b744
2 changed files with 2 additions and 4 deletions

View File

@@ -8,7 +8,6 @@ dirs-y += lib/pru_rpmsg
CFLAGS += -Os -minrt -mmcu=am335x.pru1
CFLAGS += -Ilib/pru_rpmsg/include -Ilib/pru_rpmsg/include/am335x
CFLAGS += -fno-use-linker-plugin
CFLAGS_klipper.elf := $(filter-out -mmcu=%, $(CFLAGS))
CFLAGS_klipper.elf += -Wl,-r -nostdlib -Wl,-T,src/pru/pru.lds