I was thinking of holding a party for the upcoming one year anniversary
of pinging this patch, that was committed to NetBSD's copy of GCC about
a decade ago. without it, I can't compile simple programs.
---
 gcc/config/netbsd.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 4001f240d..f4ac23a73 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.13.1

Reply via email to