--- a/cf/pthreads.m4
+++ b/cf/pthreads.m4
@@ -42,6 +42,11 @@
 	PTHREADS_CFLAGS=-pthread
 	PTHREAD_LIBADD=-pthread
 	;;
+*-*-gnu*)
+	native_pthread_support=yes
+	PTHREADS_CFLAGS=-pthread
+	PTHREAD_LIBADD="-pthread -lpthread"
+	;;
 *-*-linux* | *-*-linux-gnu)
 	case `uname -r` in
 	2.*)
