* Jack Howarth wrote on Fri, Aug 12, 2011 at 01:27:21AM CEST: > The following patch addresses > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42554#c15 > by extending the logic used in...
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157563 > Log: > PR ada/42554 > * configure.ac: Only pass -c to ranlib for darwin9 and earlier. > * configure: Regenerate. > Okay for gcc trunk? OK with ... > 2010-08-11 Jack Howarth <howa...@bromo.med.uc.edu> > > PR 42554/49992 > > * gcc/configure.ac: Only pass -c to ranlib for darwin9 and earlier. > * gcc/configure.ac: Regenerate. ... typo in file name fixed. Thanks, Ralf > --- gcc/configure.ac (revision 177684) > +++ gcc/configure.ac (working copy) > @@ -821,11 +821,8 @@ gcc_AC_PROG_LN_S > ACX_PROG_LN($LN_S) > AC_PROG_RANLIB > case "${host}" in > -*-*-darwin*) > - # By default, the Darwin ranlib will not treat common symbols as > - # definitions when building the archive table of contents. Other > - # ranlibs do that; pass an option to the Darwin ranlib that makes > - # it behave similarly. > +*-*-darwin[[3-9]]*) > + # ranlib before Darwin10 requires the -c flag to look at common symbols. > ranlib_flags="-c" > ;; > *)