config.gcc (*-*-netbsd*): Set thread_file to 'posix' for --enable-threads=yes and...
authorJason Thorpe <thorpej@wasabisystems.com>
Sun, 15 Sep 2002 18:07:13 +0000 (18:07 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Sun, 15 Sep 2002 18:07:13 +0000 (18:07 +0000)
* config.gcc (*-*-netbsd*): Set thread_file to 'posix'
for --enable-threads=yes and --enable-threads=posix.

From-SVN: r57163

gcc/ChangeLog
gcc/config.gcc

index bf3c533fe4ba26f4fd9eeb59255c182b9caed1ec..016f5ca0cf4ebad6e8cbc5a26f9c00b3677c68ee 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 faa135d2485eba2280b2f65d1f3ce61e28ebca84..8f3312d85b72505ac4a196e75f019bc952c3ecaa 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