aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@wasabisystems.com>2002-10-28 17:20:36 +0000
committerJason Thorpe <thorpej@gcc.gnu.org>2002-10-28 17:20:36 +0000
commitee3c755a456f622ae2688dd8820a53ce3c6912a5 (patch)
treef36c06fc63e7b0228451b0448472fe8ba69bb015 /gcc/config.gcc
parentc6362f4ff9a00e9bc69db6d8b7ae26498471a19f (diff)
downloadgcc-ee3c755a456f622ae2688dd8820a53ce3c6912a5.zip
gcc-ee3c755a456f622ae2688dd8820a53ce3c6912a5.tar.gz
gcc-ee3c755a456f622ae2688dd8820a53ce3c6912a5.tar.bz2
config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to tm_defines if pthreads are enabled.
* config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to tm_defines if pthreads are enabled. * config/netbsd.h (LIB_SPEC): Only support the -pthread option if NETBSD_ENABLE_PTHREADS is defined. From-SVN: r58599
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index bf94659..973a848 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -367,6 +367,7 @@ case $machine in
case x${enable_threads} in
xyes | xposix)
thread_file='posix'
+ tm_defines="${tm_defines} NETBSD_ENABLE_PTHREADS"
;;
esac
;;