diff options
author | Maya Rashish <coypu@sdf.org> | 2017-06-29 23:23:06 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-06-29 17:23:06 -0600 |
commit | 9b260ce0b77813c5de47eecdcedb308b20ade081 (patch) | |
tree | 902d3faa07514703bbb48bad1e7d2b1fd1dd2027 /gcc/config/netbsd.h | |
parent | 84a1b7fe0234b8eddb813a9af8a73a98acad403d (diff) | |
download | gcc-9b260ce0b77813c5de47eecdcedb308b20ade081.tar.gz |
netbsd.h (NETBSD_LIB_SPEC): Add -lc when creating shared objects.
2017-06-29 Maya Rashish <coypu@sdf.org>
* config/netbsd.h (NETBSD_LIB_SPEC): Add -lc when creating shared
objects.
From-SVN: r249822
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r-- | gcc/config/netbsd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 4001f240d58..f4ac23a73a2 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -96,6 +96,7 @@ along with GCC; see the file COPYING3. If not see %{!pg:-lposix}} \ %{p:-lposix_p} \ %{pg:-lposix_p}} \ + %{shared:-lc} \ %{!shared: \ %{!symbolic: \ %{!p: \ @@ -109,6 +110,7 @@ along with GCC; see the file COPYING3. If not see %{!pg:-lposix}} \ %{p:-lposix_p} \ %{pg:-lposix_p}} \ + %{shared:-lc} \ %{!shared: \ %{!symbolic: \ %{!p: \ |