public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-10381] configure, Darwin: Correct a pasto in host-shared processing.
Date: Mon, 22 Apr 2024 18:45:53 +0000 (GMT)	[thread overview]
Message-ID: <20240422184553.A093A3858CDA@sourceware.org> (raw)

https://gcc.gnu.org/g:f6b8bd94ff853ac321c72cc80968d8386023b7e5

commit r12-10381-gf6b8bd94ff853ac321c72cc80968d8386023b7e5
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Sun Jun 26 09:24:28 2022 +0100

    configure, Darwin: Correct a pasto in host-shared processing.
    
    We do, of course, mean $host not $target in this case.  Corrected thus.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    
    ChangeLog:
    
            * configure: Regenerate.
            * configure.ac: Correct use of $host.
    
    (cherry picked from commit 1edfc8f2d3307a3ffa077a605f432832d7715462)

Diff:
---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 5dcaab14ae9..77638bc84a6 100755
--- a/configure
+++ b/configure
@@ -8646,7 +8646,7 @@ fi
 # Check whether --enable-host-shared was given.
 if test "${enable_host_shared+set}" = set; then :
   enableval=$enable_host_shared; host_shared=$enableval
- case $target in
+ case $host in
    x86_64-*-darwin* | aarch64-*-darwin*)
      if test x$host_shared != xyes ; then
        # PIC is the default, and actually cannot be switched off.
diff --git a/configure.ac b/configure.ac
index 85977482aee..7abd02f8b56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1918,7 +1918,7 @@ AC_ARG_ENABLE(host-shared,
 [AS_HELP_STRING([--enable-host-shared],
 		[build host code as shared libraries])],
 [host_shared=$enableval
- case $target in
+ case $host in
    x86_64-*-darwin* | aarch64-*-darwin*)
      if test x$host_shared != xyes ; then
        # PIC is the default, and actually cannot be switched off.

                 reply	other threads:[~2024-04-22 18:45 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=20240422184553.A093A3858CDA@sourceware.org \
    --to=iains@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: link
Be 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).