$OpenBSD: patch-configure,v 1.3 2010/04/15 09:15:06 sthen Exp $ --- configure.orig Wed Apr 7 07:35:51 2010 +++ configure Wed Apr 7 10:02:07 2010 @@ -1083,7 +1083,7 @@ fi if test "x$ac_cv_prog_gcc" = xyes ; then - CFLAGS="-O2" + #CFLAGS="-O2" case "$host_os" in IRIX*) CFLAGS="-mabi=n32 -fno-builtins ${CFLAGS}" @@ -3466,7 +3466,7 @@ EOF - LIBS="${LIBS} -lpthread" + LIBS="${LIBS} -pthread" THREADS_SOURCES="thread_pool.c" else echo "$ac_t""no" 1>&6