[CRIU] [PATCH 1/5] zdtm: static/posix_timers: use the flag -pthread to link the test

Alexander Kartashov alekskartashov at parallels.com
Tue Feb 4 22:14:36 PST 2014


This flag is required to cross-compile the test for
the architecture AAarch64 on x86-64.

Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
Cc: Kinsbursky Stanislav <skinsbursky at parallels.com>
---
 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 6af09dd..4de72a9 100644
--- a/test/zdtm/live/static/Makefile
+++ b/test/zdtm/live/static/Makefile
@@ -252,7 +252,7 @@ sigaltstack:		override LDLIBS += -pthread
 shm:			override CFLAGS += -DNEW_IPC_NS
 msgque:			override CFLAGS += -DNEW_IPC_NS
 sem:			override CFLAGS += -DNEW_IPC_NS
-posix_timers:		override LDLIBS += -lrt
+posix_timers:		override LDLIBS += -lrt -pthread
 socket-tcp6: override CFLAGS += -D ZDTM_IPV6
 socket-tcpbuf6: override CFLAGS += -D ZDTM_IPV6
 socket-tcpbuf-local: override CFLAGS += -D ZDTM_TCP_LOCAL
-- 
1.7.9.5



More information about the CRIU mailing list