aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/netbsd.h
diff options
context:
space:
mode:
authorKrister Walfridsson <krister.walfridsson@gmail.com>2017-07-09 04:22:43 +0000
committerKrister Walfridsson <kristerw@gcc.gnu.org>2017-07-09 04:22:43 +0000
commitb48cd47ebde3d57304795feab2c164ecbb9e8d84 (patch)
tree2932ccab75f27083eb2ab1f9353548e63bb639d1 /gcc/config/netbsd.h
parentbec75e53a86ed2e7d06a57fd9d934029c1fde923 (diff)
downloadgcc-b48cd47ebde3d57304795feab2c164ecbb9e8d84.zip
gcc-b48cd47ebde3d57304795feab2c164ecbb9e8d84.tar.gz
gcc-b48cd47ebde3d57304795feab2c164ecbb9e8d84.tar.bz2
config.gcc (*-*-netbsd*): Remove check for NetBSD versions not supporting pthreds.
2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com> * config.gcc (*-*-netbsd*): Remove check for NetBSD versions not supporting pthreds. * config/netbsd.h (NETBSD_LIBGCC_SPEC): Always enable pthreads. From-SVN: r250081
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r--gcc/config/netbsd.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index f4ac23a..f96ead0 100644
--- a/gcc/config/netbsd.h
+++ b/gcc/config/netbsd.h
@@ -84,7 +84,6 @@ along with GCC; see the file COPYING3. If not see
FIXME: Could eliminate the duplication here if we were allowed to
use string concatenation. */
-#ifdef NETBSD_ENABLE_PTHREADS
#define NETBSD_LIB_SPEC \
"%{pthread: \
%{!p: \
@@ -103,21 +102,6 @@ along with GCC; see the file COPYING3. If not see
%{!pg:-lc}} \
%{p:-lc_p} \
%{pg:-lc_p}}}"
-#else
-#define NETBSD_LIB_SPEC \
- "%{posix: \
- %{!p: \
- %{!pg:-lposix}} \
- %{p:-lposix_p} \
- %{pg:-lposix_p}} \
- %{shared:-lc} \
- %{!shared: \
- %{!symbolic: \
- %{!p: \
- %{!pg:-lc}} \
- %{p:-lc_p} \
- %{pg:-lc_p}}}"
-#endif
#undef LIB_SPEC
#define LIB_SPEC NETBSD_LIB_SPEC