summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2021-11-05 17:21:43 +0100
committerGitHub <noreply@github.com>2021-11-05 09:21:43 -0700
commit5bb5bb1e28ccf764867a0f8d59e0df5a36925865 (patch)
tree5b6704c554cb2dbee6f15680d894839e12085ee1 /tmk_core
parentf22046d646e241e5fa62f4a0f22797e6b97a12aa (diff)
downloadqmk_firmware-5bb5bb1e28ccf764867a0f8d59e0df5a36925865.tar.gz
qmk_firmware-5bb5bb1e28ccf764867a0f8d59e0df5a36925865.zip
Fix parallel builds w/ LTO on systems where make is not GNU make. (#13955)
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index b17f85d375..70ab0eb166 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -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)