summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-15 18:07:13 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-15 18:07:13 +0000
commit09f85456e8d3f359289f077bd8cb2c936009612a (patch)
tree7726a7ad2afc286e37c6cbd6edc92bd690586033 /gcc
parent5cb8479eac326ebebcd6586be04142762d2580dd (diff)
downloadppe42-gcc-09f85456e8d3f359289f077bd8cb2c936009612a.tar.gz
ppe42-gcc-09f85456e8d3f359289f077bd8cb2c936009612a.zip
* config.gcc (*-*-netbsd*): Set thread_file to 'posix'
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
Diffstat (limited to 'gcc')
-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 bf3c533fe4b..016f5ca0cf4 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 faa135d2485..8f3312d85b7 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
OpenPOWER on IntegriCloud