public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7466] configure: use linker plug-in by default for ld.mold Date: Thu, 3 Mar 2022 16:31:38 +0000 (GMT) [thread overview] Message-ID: <20220303163138.02B023857C4C@sourceware.org> (raw) https://gcc.gnu.org/g:c083e654bd0f29a365ec957c4c0d4e713fb0b010 commit r12-7466-gc083e654bd0f29a365ec957c4c0d4e713fb0b010 Author: Martin Liska <mliska@suse.cz> Date: Thu Mar 3 17:28:45 2022 +0100 configure: use linker plug-in by default for ld.mold gcc/ChangeLog: * configure.ac: Use linker plug-in by default. * configure: Regenerate. Diff: --- gcc/configure | 4 ++-- gcc/configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/configure b/gcc/configure index 6f5fc20fcf3..14b19c8fe0c 100755 --- a/gcc/configure +++ b/gcc/configure @@ -26034,11 +26034,11 @@ if test -f liblto_plugin.la; then # Require GNU ld or gold 2.21+ for plugin support by default. if test "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -ge 21; then gcc_cv_lto_plugin=2 + elif test "$ld_is_mold" = yes; then + gcc_cv_lto_plugin=2 # Allow -fuse-linker-plugin to enable plugin support in GNU gold 2.20. elif test "$ld_is_gold" = yes -a "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -eq 20; then gcc_cv_lto_plugin=1 - elif test "$ld_is_mold" = yes; then - gcc_cv_lto_plugin=1 fi fi diff --git a/gcc/configure.ac b/gcc/configure.ac index 3d85d33bc80..90cad309762 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4275,11 +4275,11 @@ changequote([,])dnl # Require GNU ld or gold 2.21+ for plugin support by default. if test "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -ge 21; then gcc_cv_lto_plugin=2 + elif test "$ld_is_mold" = yes; then + gcc_cv_lto_plugin=2 # Allow -fuse-linker-plugin to enable plugin support in GNU gold 2.20. elif test "$ld_is_gold" = yes -a "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -eq 20; then gcc_cv_lto_plugin=1 - elif test "$ld_is_mold" = yes; then - gcc_cv_lto_plugin=1 fi fi
reply other threads:[~2022-03-03 16:31 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220303163138.02B023857C4C@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).