diff -r 375c04ff28ba -r cd6aad0e0d4e gcc/gcc.patch --- a/gcc/gcc.patch Sun Mar 18 18:45:29 2012 +0100 +++ b/gcc/gcc.patch Thu Mar 22 20:51:00 2012 +0100 @@ -64,7 +64,7 @@ diff -Nau gcc/config/sol2.h.orig gcc/config/sol2.h --- gcc/config/sol2.h.orig 2011-01-26 21:23:17.000000000 +0100 +++ gcc/config/sol2.h 2011-03-27 18:06:45.477952967 +0200 -@@ -183,8 +183,8 @@ +@@ -181,8 +181,8 @@ "%{h*} %{v:-V} \ %{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \ %{static:-dn -Bstatic} \ @@ -72,9 +72,9 @@ - %{symbolic:-Bsymbolic -G -dy -z text} \ + %{shared:-G -dy} \ + %{symbolic:-Bsymbolic -G -dy} \ + %{pthreads|pthread|threads:" LIB_THREAD_LDFLAGS_SPEC "} \ %(link_arch) \ %{Qy:} %{!Qn:-Qy}" - Index: gcc/system.h diff -Nau gcc/system.h.orig gcc/system.h --- gcc/system.h.orig 2011-01-09 13:41:33.000000000 +0100