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 authored and Kevin O'Connor committed 2018-02-25 10:39:06 -05:00
1 parent d139389267
commit 58dd6d9106
1 file changed
+1 -1
+1 -1
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