[CRIU] [PATCH 8/8] Documentation: remove the linker command line switch --static from the final step described in the cross-compilation guide

Alexander Kartashov alekskartashov at parallels.com
Mon Mar 10 01:51:28 PDT 2014


Static linking of the binary criu isn't supported any more.

Reported-by: riya khanna <riyakhanna1983 at gmail.com>
Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
---
 Documentation/HOWTO.cross-compile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/HOWTO.cross-compile b/Documentation/HOWTO.cross-compile
index 127380b..749c081 100644
--- a/Documentation/HOWTO.cross-compile
+++ b/Documentation/HOWTO.cross-compile
@@ -28,4 +28,4 @@ This HOWTO explains how to cross-compile CRIU on x86
 12. Compile and install protobuf-c.
 13. Compile CRIU:
 
-     ARCH=<target arch> CROSS_COMPILE=$TARGET- CFLAGS=`pkg-config --cflags libprotobuf-c` LDFLAGS="`pkg-config --libs libprotobuf-c` --static" make
+     ARCH=<target arch> CROSS_COMPILE=$TARGET- CFLAGS=`pkg-config --cflags libprotobuf-c` LDFLAGS="`pkg-config --libs libprotobuf-c`" make
-- 
1.7.9.5



More information about the CRIU mailing list