[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9495 [Tor]: Must we still disable threads on *-*-solaris*?
#9495: Must we still disable threads on *-*-solaris*?
-------------------------+-------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: reopened
Priority: minor | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version:
Resolution: | Keywords: tor-relay solaris 026-triaged-1
Actual Points: | regression
Points: | Parent ID:
-------------------------+-------------------------------------------------
Comment (by nickm):
Possible patch:
{{{
diff --git a/configure.ac b/configure.ac
index e5e36d5..b28c893 100644
--- a/configure.ac
+++ b/configure.ac
@@ -366,6 +366,12 @@ if test "$LIBS" != "$saved_LIBS"; then
have_rt=yes
fi
+case $host in
+ *-*-solaris* )
+ CFLAGS="$CFLAGS -pthreads"
+ ;;
+esac
+
AC_SEARCH_LIBS(pthread_create, [pthread])
AC_SEARCH_LIBS(pthread_detach, [pthread])
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9495#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs