build: Link objects ahead of libraries to avoid failures on some platforms

Signed-off-by: Sebastian Meyer <ich@sebmeyer.de>
This commit is contained in:
Sebastian Meyer 2018-02-02 01:28:06 +01:00 committed by Kevin O'Connor
parent d139389267
commit 58dd6d9106
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ $(OUT)compile_time_request.o: $(patsubst %.c, $(OUT)src/%.o.ctr,$(src-y)) ./scri
$(OUT)klipper.elf: $(patsubst %.c, $(OUT)src/%.o,$(src-y)) $(OUT)compile_time_request.o
@echo " Linking $@"
$(Q)$(CC) $(CFLAGS_klipper.elf) $^ -o $@
$(Q)$(CC) $^ $(CFLAGS_klipper.elf) -o $@
################ Kconfig rules