3 month ping, 1 week ping (trying again), etc...
This patch has zero affect on non-netbsd users and was already
accepted in NetBSD years ago.
On Wed, Jan 04, 2017 at 11:24:27AM +0000, coypu wrote:
> Like most operating systems, NetBSD has a libc which contains
> stuff it needs for most programs to work, and people expect
> it to be linked without explicitly specifying -lc.
>
> This patch is needed for just about any program to work.
>
> ---
> gcc/config/netbsd.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
> index f2d6cc6..65ce943 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: \
> --
> 2.9.0