[CRIU] [PATCH] zdtm/test/rtc: build 64-bit criu-rtc.so

Dmitry Safonov dsafonov at virtuozzo.com
Thu Jan 19 08:24:47 PST 2017


It's library plugin to CRIU - it needs to be 64-bit.

Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 test/zdtm/static/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm/static/Makefile b/test/zdtm/static/Makefile
index e93edf150e3f..c24ee8f695f0 100644
--- a/test/zdtm/static/Makefile
+++ b/test/zdtm/static/Makefile
@@ -480,6 +480,6 @@ 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
-	$(CC) -g -Wall -shared -nostartfiles criu-rtc.c criu-rtc.pb-c.c -o criu-rtc.so -iquote ../../../criu/include -fPIC $(USERCFLAGS)
+	$(CC) -g -Wall -shared -nostartfiles criu-rtc.c criu-rtc.pb-c.c -o criu-rtc.so -iquote ../../../criu/include -fPIC $(filter-out -m32,$(USERCFLAGS))
 
 .PHONY:	force clean cleandep cleanout realclean start check_start stop wait_stop
-- 
2.11.0



More information about the CRIU mailing list