From 1d5727c1fd186772fdf2e7e5f94d3656809073d6 Mon Sep 17 00:00:00 2001 From: The Doctor Date: Wed, 29 Jul 2009 14:25:58 -0400 Subject: hints/bsdos.sh: Add correct flags for compilation with pthreads --- hints/bsdos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hints') diff --git a/hints/bsdos.sh b/hints/bsdos.sh index ab56f991da..65eaf7f3bb 100644 --- a/hints/bsdos.sh +++ b/hints/bsdos.sh @@ -120,7 +120,7 @@ cat > UU/usethreads.cbu <<'EOCBU' case "$usethreads" in $define|true|[yY]*) case "$osvers" in - 3.*|4.*) ccflags="-D_REENTRANT $ccflags" + 3.*|4.*) ccflags="-D_REENTRANT -D_THREAD_SAFE -pthread $ccflags" ;; *) cat <&4 I did not know that BSD/OS $osvers supports POSIX threads. -- cgit v1.2.1