[CRIU] [PATCH] make: Mark explicitly that arch specific C code depends on syscalls being generated

Cyrill Gorcunov gorcunov at openvz.org
Thu Dec 10 03:18:12 PST 2015


Otherwise with building in parallel mode we might start
compiling C code where syscall headers are not yet generated
or incomplete.

Reported-by: Tycho Andersen <tycho.andersen at canonical.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 1793091bfc81..b88a9aab703f 100644
--- a/Makefile
+++ b/Makefile
@@ -241,6 +241,7 @@ lib: $(VERSION_HEADER) config built-in.o
 PROGRAM-BUILTINS	+= protobuf/built-in.o
 PROGRAM-BUILTINS	+= built-in.o
 
+$(ARCH-LIB): $(SYSCALL-LIB)
 $(SYSCALL-LIB) $(ARCH-LIB) $(PROGRAM-BUILTINS): config
 
 $(PROGRAM): $(SYSCALL-LIB) $(ARCH-LIB) $(PROGRAM-BUILTINS)
-- 
2.5.0



More information about the CRIU mailing list