From 4b29ec41c82a6e6c6a50263818e81944ef522fb2 Mon Sep 17 00:00:00 2001 From: Brad Date: Sun, 7 Aug 2011 20:02:11 -0400 Subject: [PATCH] Check for presence of compiler -pthread flag. OpenBSD / FreeBSD and some other OS's require the use of cc -pthread to link threaded programs so have QEMU's configure script check for the presence of the flag and use it if so. Signed-off-by: Brad Smith Signed-off-by: Blue Swirl --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 79ddcad6a0..851387556c 100755 --- a/configure +++ b/configure @@ -1856,7 +1856,7 @@ fi ########################################## # pthread probe -PTHREADLIBS_LIST="-lpthread -lpthreadGC2" +PTHREADLIBS_LIST="-pthread -lpthread -lpthreadGC2" pthread=no cat > $TMPC << EOF