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
This commit is contained in:
David O'Brien 2005-01-14 03:23:17 +00:00 committed by David O'Brien
parent 2d1d3cb267
commit 9201889788
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2005-01-13 David O'Brien <obrien@FreeBSD.org>
* config/freebsd-spec.h: Make KSE pthread lib logic the default.
2005-01-13 Richard Henderson <rth@redhat.com>
PR target/19009

View File

@ -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