]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure, Darwin: Correct a pasto in host-shared processing.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 26 Jun 2022 08:24:28 +0000 (09:24 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 22 Apr 2024 18:45:27 +0000 (19:45 +0100)
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)

configure
configure.ac

index 5dcaab14ae99c0a9f2ec8c0f1762c87eba5135cf..77638bc84a61b68e93bbc85633fc3ba97c7d4476 100755 (executable)
--- 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.
index 85977482aeeb09eed759ce04478c6905ac044f52..7abd02f8b56d292cf43381f9bc0ef64178b53f86 100644 (file)
@@ -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.