[PATCH 2/3] test/zdtm: fixed compilation of the test criu-rtc

Alexander Kartashov alekskartashov at parallels.com
Sun Mar 16 14:24:43 PDT 2014


---
 test/zdtm/live/static/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile
index baeedcd..c44c0ca 100644
--- a/test/zdtm/live/static/Makefile
+++ b/test/zdtm/live/static/Makefile
@@ -286,7 +286,7 @@ criu-rtc.pb-c.c: criu-rtc.proto
 	protoc-c --proto_path=. --c_out=. criu-rtc.proto
 
 criu-rtc.so: criu-rtc.c criu-rtc.pb-c.c
-	gcc -g -Wall -shared -nostartfiles criu-rtc.c criu-rtc.pb-c.c -o criu-rtc.so -iquote ../../../../include -fPIC
+	$(CC) -I/home/alex/crtools/protobuf/install/aarch64/include -g -Wall -shared -nostartfiles criu-rtc.c criu-rtc.pb-c.c -o criu-rtc.so -iquote ../../../../include -fPIC
 
 .PHONY:	force clean cleandep cleanout realclean start check_start stop wait_stop
 
-- 
1.7.9.5


--------------000909060806020601080604
Content-Type: text/x-patch; name="0003-cr-simplify-cross-compilation.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="0003-cr-simplify-cross-compilation.patch"



More information about the CRIU mailing list