shithub: scc

Download patch

ref: d6034b82c42601b229eb6e82fa927ec523e2af7b
parent: b379ffb5538031f6bc18b5e18c4f7292fd624627
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Oct 18 07:46:36 EDT 2021

build: Limit git submodule update

qbe/.git target was updating all the submodules, and it
can create problems in parallel builds. It is better to
just update the submodule related to the current target.

--- a/src/cmd/Makefile
+++ b/src/cmd/Makefile
@@ -26,7 +26,7 @@
 
 qbe/.git:
 	git submodule init qbe
-	git submodule update
+	git submodule update qbe
 
 qbe/obj/qbe: qbe