Commit 2282fd2e authored by Tristan Gingold's avatar Tristan Gingold

Makefile: do not compile dump-info with lto

parent 12688ef9
......@@ -60,11 +60,9 @@ obj-$(CONFIG_TARGET_WR_SWITCH) += ipc/minipc-mem-server.o ipc/rt_ipc.o
# add search path but only for dump_mem_ppsi_wrpc.c
vpath dump_mem_ppsi_wrpc.c ppsi/tools
obj-$(CONFIG_WRPC_PPSI) += dump-info.o
obj-$(CONFIG_WRPC_PPSI) += dump_mem_ppsi_wrpc.o
dump_mem_ppsi_wrpc.o: CFLAGS+=-Itools
dump_mem_ppsi_wrpc.o: CFLAGS+=-Itools -fno-lto
# for include dump-info_ppsi.h
dump-info.o: CFLAGS+=-Ippsi/tools
dump-info.o: CFLAGS+=-Ippsi/tools -fno-lto
# our linker script is preprocessed, so have a rule here
%.ld: %.ld.S $(AUTOCONF) .config
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment