public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1270] configure, Darwin: Correct a pasto in host-shared processing.
@ 2022-06-26 14:51 Iain D Sandoe
0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2022-06-26 14:51 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1edfc8f2d3307a3ffa077a605f432832d7715462
commit r13-1270-g1edfc8f2d3307a3ffa077a605f432832d7715462
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.
Diff:
---
configure | 4 ++--
configure.ac | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index 097527b8cc0..d5fc7920ee1 100755
--- a/configure
+++ b/configure
@@ -8643,7 +8643,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.
@@ -8653,7 +8653,7 @@ if test "${enable_host_shared+set}" = set; then :
*) ;;
esac
else
- case $target in
+ case $host in
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
*) host_shared=no ;;
esac
diff --git a/configure.ac b/configure.ac
index f941b81af7f..dcea067759d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1915,7 +1915,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.
@@ -1924,7 +1924,7 @@ AC_ARG_ENABLE(host-shared,
fi ;;
*) ;;
esac],
-[case $target in
+[case $host in
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
*) host_shared=no ;;
esac])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-26 14:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26 14:51 [gcc r13-1270] configure, Darwin: Correct a pasto in host-shared processing Iain D Sandoe
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).