diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-14 00:40:15 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-14 00:40:15 +0000 |
commit | 54a8b32dce0c2ddc8d284ae3f0ffe368a60b302d (patch) | |
tree | 09d83fff3cff3efda0b1fcb7dc82eb8908e147ae /gcc/config | |
parent | 9a7045c78aa9de96292af480bbe4a39bfe1a60fd (diff) | |
download | gcc-54a8b32dce0c2ddc8d284ae3f0ffe368a60b302d.tar.gz |
PR target/45808
* config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170121 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/freebsd-spec.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |