summaryrefslogtreecommitdiff
path: root/gcc/config/freebsd-spec.h
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2005-01-14 03:23:17 +0000
committerDavid O'Brien <obrien@gcc.gnu.org>2005-01-14 03:23:17 +0000
commit9201889788a05b22a915f91eb06e6bd9ac0f8f4b (patch)
treed2222e12579e6465756ced862c0e7d25089c9c81 /gcc/config/freebsd-spec.h
parent2d1d3cb26774cc15af0337e806d15c212e50549f (diff)
downloadgcc-9201889788a05b22a915f91eb06e6bd9ac0f8f4b.tar.gz
Tweaking the previous freebsd-spec.h for the long term.
2005-01-13 David O'Brien <obrien@FreeBSD.org> * config/freebsd-spec.h: Make KSE pthread lib logic the default. From-SVN: r93628
Diffstat (limited to 'gcc/config/freebsd-spec.h')
-rw-r--r--gcc/config/freebsd-spec.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/freebsd-spec.h b/gcc/config/freebsd-spec.h
index 398a9326a3c..6960bc7aba3 100644
--- a/gcc/config/freebsd-spec.h
+++ b/gcc/config/freebsd-spec.h
@@ -129,13 +129,7 @@ is built with the --enable-threads configure-time option.} \
%{pg: -lc_p} \
}"
#else
-#if FBSD_MAJOR >= 5
-#define FBSD_LIB_SPEC " \
- %{!shared: \
- %{!pg: %{pthread:-lpthread} -lc} \
- %{pg: %{pthread:-lpthread_p} -lc_p} \
- }"
-#else
+#if FBSD_MAJOR < 5
#define FBSD_LIB_SPEC " \
%{!shared: \
%{!pg: \
@@ -145,6 +139,12 @@ is built with the --enable-threads configure-time option.} \
%{!pthread:-lc_p} \
%{pthread:-lc_r_p}} \
}"
+#else
+#define FBSD_LIB_SPEC " \
+ %{!shared: \
+ %{!pg: %{pthread:-lpthread} -lc} \
+ %{pg: %{pthread:-lpthread_p} -lc_p} \
+ }"
#endif
#endif