I applied the following under the 'obvious' rule.
config/darwin10.h no longer modifies LIB_SPEC and thus the one in it
was just a duplicate of the one in darwin.h.
tidied.
cheers,
Iain
gcc:
* config/darwin10.h Remove duplicate LIB_SPEC.
Index: gcc/config/darwin10.h
===================================================================
--- gcc/config/darwin10.h (revision 178608)
+++ gcc/config/darwin10.h (working copy)
@@ -18,9 +18,6 @@ You should have received a copy of the GNU General
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#undef LIB_SPEC
-#define LIB_SPEC "%{!static: -lSystem }"
-
/* Fix PR41260 by passing -no_compact_unwind on darwin10 and later
until
unwinder in libSystem is fixed to digest new epilog unwinding
notes.