aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@wasabisystems.com>2002-09-15 18:07:13 +0000
committerJason Thorpe <thorpej@gcc.gnu.org>2002-09-15 18:07:13 +0000
commita0494c057ab0c2771725bbf8281c652060a5fff5 (patch)
tree7726a7ad2afc286e37c6cbd6edc92bd690586033
parentd30d6e7a36641ff6a10b74a9d846f98d90da6ab5 (diff)
downloadgcc-a0494c057ab0c2771725bbf8281c652060a5fff5.zip
gcc-a0494c057ab0c2771725bbf8281c652060a5fff5.tar.gz
gcc-a0494c057ab0c2771725bbf8281c652060a5fff5.tar.bz2
config.gcc (*-*-netbsd*): Set thread_file to 'posix' for --enable-threads=yes and --enable-threads=posix.
* config.gcc (*-*-netbsd*): Set thread_file to 'posix' for --enable-threads=yes and --enable-threads=posix. From-SVN: r57163
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bf3c533..016f5ca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index faa135d..8f3312d 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -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