← Commit list

74fdc1185f

Michael Osipov
Michael Osipov
2025-09-17
FAILED Duration: 153s

Subject

configure: add "-mt" for pthread support on HP-UX

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

configure.ac+1 -3
@@ -4340,11 +4340,9 @@ if test "$want_threaded_resolver" = "yes" && test "$USE_THREADS_WIN32" != "1"; t
AC_CHECK_FUNC(pthread_create, [USE_THREADS_POSIX=1] )
LIBS="$save_LIBS"
- dnl on HP-UX, life is more complicated...
case $host in
*-hp-hpux*)
- dnl it doesn't actually work without -lpthread
- USE_THREADS_POSIX=""
+ CFLAGS="$CFLAGS -mt"
;;
*)
;;