diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de8e127fdb6..4ac547505f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-02-14 Andriy Gapon + + PR target/45808 + * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. + 2011-02-13 Ralf Wildenhues * configure: Regenerate. diff --git a/gcc/config/freebsd-spec.h b/gcc/config/freebsd-spec.h index 00b7407b1f4..d8b338226b8 100644 --- a/gcc/config/freebsd-spec.h +++ b/gcc/config/freebsd-spec.h @@ -121,6 +121,9 @@ is built with the --enable-threads configure-time option.} \ %{!shared: \ %{!pg: %{pthread:-lpthread} -lc} \ %{pg: %{pthread:-lpthread_p} -lc_p} \ + } \ + %{shared: \ + %{pthread:-lpthread} -lc \ }" #endif #endif