* config.gcc (*-*-netbsd*): Set thread_file to 'posix'
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Sep 2002 18:07:13 +0000 (18:07 +0000)
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Sep 2002 18:07:13 +0000 (18:07 +0000)
for --enable-threads=yes and --enable-threads=posix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57163 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc

index bf3c533..016f5ca 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
+       for --enable-threads=yes and --enable-threads=posix.
+
 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/sparc/cypress.md: Replace Sparc with SPARC.
index faa135d..8f3312d 100644 (file)
@@ -364,6 +364,11 @@ case $machine in
        xm_defines=POSIX
        gas=yes
        gnu_ld=yes
+       case x${enable_threads} in
+       xyes | xposix)
+               thread_file='posix'
+               ;;
+       esac
        ;;
 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
        # This is the place-holder for the generic a.out configuration