]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/configure.ac
Use -z ignore instead of --as-needed on Solaris
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 15 Apr 2013 10:31:57 +0000 (10:31 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 15 Apr 2013 10:31:57 +0000 (10:31 +0000)
commite927b6ad355c068ce2030bdec5a23db8d7a41496
treec14f024bbdb6a514a3b90e6bfd980a6fc278ed5a
parente0ea8797bb997ccc5ab228580498dfe2b727dcef
Use -z ignore instead of --as-needed on Solaris

* configure.ac (gcc_cv_ld_as_needed): Set
gcc_cv_ld_as_needed_option, gcc_cv_no_as_needed_option.
Use -z ignore, -z record on *-*-solaris2*.
(HAVE_LD_AS_NEEDED): Update comment.
(LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION): Define.
* configure: Regenerate.
* config.in: Regenerate.
* gcc.c (init_gcc_specs) [USE_LD_AS_NEEDED]: Use
LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION.
* config/sol2.h [HAVE_LD_AS_NEEDED] (USE_LD_AS_NEEDED): Define.
* doc/tm.texi.in (USE_LD_AS_NEEDED): Allow for --as-needed
equivalents.  Fix markup.
* doc/tm.texi: Regenerate.

From-SVN: r197964
gcc/ChangeLog
gcc/config.in
gcc/config/sol2.h
gcc/configure
gcc/configure.ac
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/gcc.c