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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user