From: Maya Rashish Date: Thu, 29 Jun 2017 23:23:06 +0000 (+0000) Subject: netbsd.h (NETBSD_LIB_SPEC): Add -lc when creating shared objects. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b260ce0b77813c5de47eecdcedb308b20ade081;p=gcc.git netbsd.h (NETBSD_LIB_SPEC): Add -lc when creating shared objects. 2017-06-29 Maya Rashish * config/netbsd.h (NETBSD_LIB_SPEC): Add -lc when creating shared objects. From-SVN: r249822 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b0723577ff..9dd05c60b3e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-06-29 Maya Rashish + + * config/netbsd.h (NETBSD_LIB_SPEC): Add -lc when creating shared + objects. + 2017-06-29 Jan Hubicka * arm/arm-builtins.c: Include profile-count.h 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: \