Skip to content

Commit

Permalink
Fix parallel builds w/ LTO on systems where make is not GNU make. (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
uqs authored Nov 5, 2021
1 parent f22046d commit 5bb5bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ BEGIN = gccversion sizebefore
# Note the obj.txt depeendency is there to force linking if a source file is deleted
%.elf: $(OBJ) $(MASTER_OUTPUT)/cflags.txt $(MASTER_OUTPUT)/ldflags.txt $(MASTER_OUTPUT)/obj.txt | $(BEGIN)
@$(SILENT) || printf "$(MSG_LINKING) $@" | $(AWK_CMD)
$(eval CMD=$(CC) $(ALL_CFLAGS) $(filter-out %.txt,$^) --output $@ $(LDFLAGS))
$(eval CMD=MAKE=$(MAKE) $(CC) $(ALL_CFLAGS) $(filter-out %.txt,$^) --output $@ $(LDFLAGS))
@$(BUILD_CMD)


Expand Down

0 comments on commit 5bb5bb1

Please sign in to comment.