aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
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 /gcc/config.gcc
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
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc5
1 files changed, 5 insertions, 0 deletions
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