Commit 92018897 by David O'Brien Committed by David O'Brien

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
parent 2d1d3cb2
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> 2005-01-13 Richard Henderson <rth@redhat.com>
PR target/19009 PR target/19009
......
...@@ -129,13 +129,7 @@ is built with the --enable-threads configure-time option.} \ ...@@ -129,13 +129,7 @@ is built with the --enable-threads configure-time option.} \
%{pg: -lc_p} \ %{pg: -lc_p} \
}" }"
#else #else
#if FBSD_MAJOR >= 5 #if FBSD_MAJOR < 5
#define FBSD_LIB_SPEC " \
%{!shared: \
%{!pg: %{pthread:-lpthread} -lc} \
%{pg: %{pthread:-lpthread_p} -lc_p} \
}"
#else
#define FBSD_LIB_SPEC " \ #define FBSD_LIB_SPEC " \
%{!shared: \ %{!shared: \
%{!pg: \ %{!pg: \
...@@ -145,6 +139,12 @@ is built with the --enable-threads configure-time option.} \ ...@@ -145,6 +139,12 @@ is built with the --enable-threads configure-time option.} \
%{!pthread:-lc_p} \ %{!pthread:-lc_p} \
%{pthread:-lc_r_p}} \ %{pthread:-lc_r_p}} \
}" }"
#else
#define FBSD_LIB_SPEC " \
%{!shared: \
%{!pg: %{pthread:-lpthread} -lc} \
%{pg: %{pthread:-lpthread_p} -lc_p} \
}"
#endif #endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment