void-packages/srcpkgs/chroot-git/patches/0001-Makefile-fix-parallel-build-race.patch
Đoàn Trần Công Danh 9e002f25f3 git: fix build race
2021-11-17 08:23:40 +07:00

33 lines
1.1 KiB
Diff

From 7d82342089a80b19e54ac8997d5765a33951499f Mon Sep 17 00:00:00 2001
Message-Id: <7d82342089a80b19e54ac8997d5765a33951499f.1637112066.git.congdanhqx@gmail.com>
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Wed, 17 Nov 2021 08:19:22 +0700
Subject: [PATCH] Makefile: fix parallel build race
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* builtin/bugreport.c includes hook-list.h, hence generated files from
it must depend on hook-list.h
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 241dc322c0..413503b488 100644
--- a/Makefile
+++ b/Makefile
@@ -2222,6 +2222,7 @@ git$X: git.o GIT-LDFLAGS $(BUILTIN_OBJS) $(GITLIBS)
help.sp help.s help.o: command-list.h
hook.sp hook.s hook.o: hook-list.h
+builtin/bugreport.sp builtin/bugreport.s builtin/bugreport.o: hook-list.h
builtin/help.sp builtin/help.s builtin/help.o: config-list.h hook-list.h GIT-PREFIX
builtin/help.sp builtin/help.s builtin/help.o: EXTRA_CPPFLAGS = \
--
2.34.0.rc1