libcgroup/0006-Paralell-build-fix-7.patch
liuxu 20c0d74db3 Paralell build fix
Signed-off-by: liuxu <liuxu156@huawei.com>
2024-12-04 15:17:44 +08:00

43 lines
1.2 KiB
Diff

From f3932c268e3fd599866560f4f037df1fab50d581 Mon Sep 17 00:00:00 2001
From: Koji Builder <koji@dummy.lan>
Date: Sat, 11 Jul 2020 16:22:48 +0100
Subject: [PATCH] Paralell build fix #7
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
All source soce files which first needs to be generated needs to be listed in
BUILT_SOURCES.
This patch adds to that automake variable parse.c and parse.h because they are
listed below in libcgroup_la_SOURCES.
Documentetion of the BUILT_SOURCES is on:
https://www.gnu.org/software/automake/manual/html_node/Sources.html
Conflict:No
Reference:https://github.com/libcgroup/libcgroup/commit/f3932c268e3fd599866560f4f037df1fab50d581
https://github.com/libcgroup/libcgroup/issues/7
Reported-by: Tomasz Kłoczko <kloczek@giithub.com>
Signed-off-by: Tomasz Kłoczko <kloczek@giithub.com>
---
src/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index 9fc965b..9de4822 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,7 @@
@CODE_COVERAGE_RULES@
+BUILT_SOURCES = parse.c parse.h
+
if WITH_BINDINGS
BINDINGS_SUBDIR = bindings
endif
--
2.43.0