Makefile: move around the parameters for better linker compatibility.

This commit is contained in:
sorgelig
2017-11-16 01:04:19 +08:00
parent e641ef3f0d
commit 21fd72501f

View File

@@ -22,7 +22,7 @@ LFLAGS = -lc -lstdc++ -lrt
$(PRJ): $(OBJ)
@$(info $@)
@$(LD) $(LFLAGS) -o $@ $+
@$(LD) -o $@ $+ $(LFLAGS)
@cp $@ $@.elf
@$(STRIP) $@