Module Name:    src
Committed By:   mrg
Date:           Sun Aug  7 00:07:15 UTC 2011

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config: netbsd.h

Log Message:
whoops, properly copy the old libgcc spec.  fixes libGLU on sh3.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/dist/gcc/config/netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.6 src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.7
--- src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.6	Sat Jul 23 15:22:26 2011
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd.h	Sun Aug  7 00:07:15 2011
@@ -155,13 +155,15 @@
 #define NETBSD_LIBGCC_SPEC						\
   "%{static:-lgcc -lgcc_eh}						\
    %{static-libgcc:							\
-     %{!shared:-lgcc -lgcc_eh						\
-       %{shared:-lgcc_pic -lgcc_eh_pic}}}				\
+     %{!shared:-lgcc -lgcc_eh}						\
+     %{shared:-lgcc_pic -lgcc_eh_pic}}					\
    %{!static:								\
      %{!static-libgcc:							\
-       %{!shared-libgcc:-lgcc_pic --as-needed -lgcc_s --no-as-needed }	\
-       %{shared-libgcc:-lgcc_s						\
-         %{!shared: -lgcc_pic}}}}"					\
+       %{!shared:							\
+         %{!shared-libgcc:-lgcc -lgcc_eh}				\
+         %{shared-libgcc:-lgcc_s -lgcc}}				\
+       %{shared:							\
+         %{shared-libgcc:-lgcc_s} -lgcc_pic}}}"
 
 #define REAL_LIBGCC_SPEC NETBSD_LIBGCC_SPEC
 

Reply via email to