[build] Use -z ignore instead of --as-needed on Solaris

Tobias Burnus burnus@net-b.de
Mon Apr 15 12:54:00 GMT 2013


Rainer Orth wrote:
> While the Solaris linker doesn't support the --as-needed/--no-as-needed
> options (yet), it long has provided the equivalent -z ignore/-z record
> options.  This patch makes use of them, avoiding unnecessary
> dependencies on libgcc_s.so.1.

Could you also do a similar update in libgfortran/acinclude.m4's 
libgfor_cv_have_as_needed check?

Thanks,

Tobias



More information about the Gcc-patches mailing list