Skip to content

Commit 128d316

Browse files
authored
gh-141926: Do not unset RUNSHARED when cross-compiling (#141958)
1 parent b3bf212 commit 128d316

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``RUNSHARED`` is no longer cleared when cross-compiling. Previously,
2+
``RUNSHARED`` was cleared when cross-compiling, which breaks PGO when using
3+
``--enabled-shared`` on systems where the cross-compiled CPython is otherwise
4+
executable (e.g., via transparent emulation).

configure

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,10 +1639,6 @@ else # shared is disabled
16391639
fi
16401640
AC_MSG_RESULT([$LDLIBRARY])
16411641

1642-
if test "$cross_compiling" = yes; then
1643-
RUNSHARED=
1644-
fi
1645-
16461642
# HOSTRUNNER - Program to run CPython for the host platform
16471643
AC_MSG_CHECKING([HOSTRUNNER])
16481644
if test -z "$HOSTRUNNER"

0 commit comments

Comments
 (0)