Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config whoops, properly copy the ...



details:   https://anonhg.NetBSD.org/src/rev/607ea5309458
branches:  trunk
changeset: 768041:607ea5309458
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Aug 07 00:07:15 2011 +0000

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

diffstat:

 external/gpl3/gcc/dist/gcc/config/netbsd.h |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 044b7b7b61b7 -r 607ea5309458 external/gpl3/gcc/dist/gcc/config/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd.h        Sat Aug 06 23:25:19 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd.h        Sun Aug 07 00:07:15 2011 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index