config.gcc (*-*-netbsd[2-9]*, [...]): Enable POSIX thread support by default.
* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable POSIX thread support by default. From-SVN: r63509
This commit is contained in:
parent
3eae722dec
commit
51b7c247de
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-02-27 Jason Thorpe <thorpej@wasabisystems.com>
|
||||
|
||||
* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
|
||||
POSIX thread support by default.
|
||||
|
||||
2003-02-27 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* config/i386/cygwin.h: Don't include any other files directly.
|
||||
|
|
|
@ -399,7 +399,18 @@ case $machine in
|
|||
xm_defines=POSIX
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
|
||||
# NetBSD 2.0 and later get POSIX threads enabled by default.
|
||||
# Allow them to be explicitly enabled on any other version.
|
||||
case x${enable_threads} in
|
||||
x)
|
||||
case $machine in
|
||||
*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
|
||||
thread_file='posix'
|
||||
tm_defines="${tm_defines} NETBSD_ENABLE_PTHREADS"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
xyes | xposix)
|
||||
thread_file='posix'
|
||||
tm_defines="${tm_defines} NETBSD_ENABLE_PTHREADS"
|
||||
|
|
Loading…
Add table
Reference in a new issue