mirror of
https://github.com/python/cpython.git
synced 2026-01-26 12:55:08 +00:00
gh-141926: Do not unset RUNSHARED when cross-compiling (#141958)
This commit is contained in:
parent
b3bf212898
commit
128d31637e
@ -0,0 +1,4 @@
|
||||
``RUNSHARED`` is no longer cleared when cross-compiling. Previously,
|
||||
``RUNSHARED`` was cleared when cross-compiling, which breaks PGO when using
|
||||
``--enabled-shared`` on systems where the cross-compiled CPython is otherwise
|
||||
executable (e.g., via transparent emulation).
|
||||
4
configure
generated
vendored
4
configure
generated
vendored
@ -7808,10 +7808,6 @@ fi
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
|
||||
printf "%s\n" "$LDLIBRARY" >&6; }
|
||||
|
||||
if test "$cross_compiling" = yes; then
|
||||
RUNSHARED=
|
||||
fi
|
||||
|
||||
# HOSTRUNNER - Program to run CPython for the host platform
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking HOSTRUNNER" >&5
|
||||
printf %s "checking HOSTRUNNER... " >&6; }
|
||||
|
||||
@ -1639,10 +1639,6 @@ else # shared is disabled
|
||||
fi
|
||||
AC_MSG_RESULT([$LDLIBRARY])
|
||||
|
||||
if test "$cross_compiling" = yes; then
|
||||
RUNSHARED=
|
||||
fi
|
||||
|
||||
# HOSTRUNNER - Program to run CPython for the host platform
|
||||
AC_MSG_CHECKING([HOSTRUNNER])
|
||||
if test -z "$HOSTRUNNER"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user