diff options
author | David O'Brien <obrien@FreeBSD.org> | 2005-01-14 03:23:17 +0000 |
---|---|---|
committer | David O'Brien <obrien@gcc.gnu.org> | 2005-01-14 03:23:17 +0000 |
commit | 9201889788a05b22a915f91eb06e6bd9ac0f8f4b (patch) | |
tree | d2222e12579e6465756ced862c0e7d25089c9c81 /gcc | |
parent | 2d1d3cb26774cc15af0337e806d15c212e50549f (diff) | |
download | gcc-9201889788a05b22a915f91eb06e6bd9ac0f8f4b.zip gcc-9201889788a05b22a915f91eb06e6bd9ac0f8f4b.tar.gz gcc-9201889788a05b22a915f91eb06e6bd9ac0f8f4b.tar.bz2 |
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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/freebsd-spec.h | 14 |
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 508a554..bf7f096 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/freebsd-spec.h b/gcc/config/freebsd-spec.h index 398a932..6960bc7 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 |