mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 12:00:11 -05:00
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 1edfc8f2d3)
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -8277,7 +8277,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.
|
||||
@@ -8287,7 +8287,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
|
||||
|
||||
@@ -1872,7 +1872,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.
|
||||
@@ -1881,7 +1881,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])
|
||||
|
||||
Reference in New Issue
Block a user