diff options
author | Brad | 2011-08-08 02:02:11 +0200 |
---|---|---|
committer | Blue Swirl | 2011-08-21 20:46:34 +0200 |
commit | 4b29ec41c82a6e6c6a50263818e81944ef522fb2 (patch) | |
tree | 2cd38792108b46b573c4c40704a8d5f667877d46 /configure | |
parent | Convert last qemu_free and qemu_malloc uses (diff) | |
download | qemu-4b29ec41c82a6e6c6a50263818e81944ef522fb2.tar.gz qemu-4b29ec41c82a6e6c6a50263818e81944ef522fb2.tar.xz qemu-4b29ec41c82a6e6c6a50263818e81944ef522fb2.zip |
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 <brad@comstyle.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1856,7 +1856,7 @@ fi ########################################## # pthread probe -PTHREADLIBS_LIST="-lpthread -lpthreadGC2" +PTHREADLIBS_LIST="-pthread -lpthread -lpthreadGC2" pthread=no cat > $TMPC << EOF |