[CRIU] [PATCH 1/4] build: criu -- Don't link with syscalls library

Cyrill Gorcunov gorcunov at openvz.org
Tue Mar 15 05:41:07 PDT 2016


We don't need it since we use syscall() libc wrapper.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 criu/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/Makefile b/criu/Makefile
index 508f72fdec91..575d7e47556b 100644
--- a/criu/Makefile
+++ b/criu/Makefile
@@ -171,7 +171,7 @@ built-in.o: pie
 
 criu: $(PROGRAM-BUILTINS)
 	$(call msg-link, $@)
-	$(Q) $(CC) $(CFLAGS) $^ $(SYSCALL-LIB) $(ARCH-LIB) $(LIBS) $(LDFLAGS) $(GMONLDOPT) -rdynamic -o $@
+	$(Q) $(CC) $(CFLAGS) $^ $(ARCH-LIB) $(LIBS) $(LDFLAGS) $(GMONLDOPT) -rdynamic -o $@
 
 #
 # Cleanup everything.
-- 
2.5.0



More information about the CRIU mailing list