From a0494c057ab0c2771725bbf8281c652060a5fff5 Mon Sep 17 00:00:00 2001 From: Jason Thorpe Date: Sun, 15 Sep 2002 18:07:13 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 5 +++++ 2 files changed, 10 insertions(+) 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 + + * config.gcc (*-*-netbsd*): Set thread_file to 'posix' + for --enable-threads=yes and --enable-threads=posix. + 2002-09-15 Kazu Hirata * 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