Check for presence of compiler -pthread flag
PATCH 1/1 Check for presence of compiler -pthread flag
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.
--- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
configure +1 -1
@@ -1858,7 +1858,7 @@ fi ########################################## # pthread probe -PTHREADLIBS_LIST="-lpthread -lpthreadGC2" +PTHREADLIBS_LIST="-pthread -lpthread -lpthreadGC2" pthread=no cat > $TMPC << EOF
Signature · 7 lines
1.7.6 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Quoted 8 lines · Brad
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 <[email protected]>
ping.
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Blue Swirl
AppliedThanks, applied.
Quoted 37 lines · Brad
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 <[email protected]>---
configure | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)configure +1
-1@@ -1858,7 +1858,7 @@ fi ########################################## # pthread probe -PTHREADLIBS_LIST="-lpthread -lpthreadGC2" +PTHREADLIBS_LIST="-pthread -lpthread -lpthreadGC2"pthread=no
cat > $TMPC << EOF
--
1.7.6--
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Anthony Liguori
AppliedQuoted 8 lines · Brad
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<[email protected]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 18 lines
--- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)configure +1
-1@@ -1858,7 +1858,7 @@ fi ########################################## # pthread probe -PTHREADLIBS_LIST="-lpthread -lpthreadGC2" +PTHREADLIBS_LIST="-pthread -lpthread -lpthreadGC2" pthread=no cat> $TMPC<< EOF