http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49992

--- Comment #23 from Iain Sandoe <iains at gcc dot gnu.org> 2011-08-09 14:49:19 
UTC ---
(In reply to comment #22)
> or more correctly just...
> 
> Index: gcc/configure.ac
> ===================================================================
> --- gcc/configure.ac    (revision 177598)
> +++ 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" 
>    ;;
>  *)

well, I don't see that darwin 9 does anything different from darwin 10 in this
respect (and I wonder if darwin 8 does either).

and ...  watch out for the first case matching all darwin ;-) and the second
never firing.

Reply via email to