don't use -threads with gcc under HP-UX, it's for DCE threads and not pthreads (reverts recent commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4410,11 +4410,7 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
|
|||||||
THREAD_OPTS="pthreads"
|
THREAD_OPTS="pthreads"
|
||||||
;;
|
;;
|
||||||
*-hp-hpux* )
|
*-hp-hpux* )
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" != "xyes"; then
|
||||||
dnl the correct option for gcc is -threads, at least under
|
|
||||||
dnl HP-UX 11.00
|
|
||||||
THREAD_OPTS="-threads"
|
|
||||||
fi
|
|
||||||
dnl HP-UX aCC only gives a warning, not an error about
|
dnl HP-UX aCC only gives a warning, not an error about
|
||||||
dnl -pthread but it doesn't work and we have to use
|
dnl -pthread but it doesn't work and we have to use
|
||||||
dnl -lpthread there
|
dnl -lpthread there
|
||||||
|
Reference in New Issue
Block a user