projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b8ca42e
)
hints/bsdos.sh: Add correct flags for compilation with pthreads
The Doctor [Wed, 29 Jul 2009 18:25:58 +0000 (14:25 -0400)]
hints/bsdos.sh
patch
|
blob
|
blame
|
history
diff --git
a/hints/bsdos.sh
b/hints/bsdos.sh
index
ab56f99
..
65eaf7f
100644
(file)
--- 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 <<EOM >&4
I did not know that BSD/OS $osvers supports POSIX threads.