From: Jonathan J. Helmus Date: Sun, 19 Jul 2026 09:39:05 +0000 (-0500) Subject: [3.15] gh-152769: fixup enabling of perf trampoline on musl (Alpine Linux) (#153995) X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=32cf04b159bd8990ff8a10eba929a22ad846e233;p=thirdparty%2FPython%2Fcpython.git [3.15] gh-152769: fixup enabling of perf trampoline on musl (Alpine Linux) (#153995) Co-authored-by: Victor Stinner --- diff --git a/configure b/configure index 08a7c663ce0a..af350fbb132d 100755 --- a/configure +++ b/configure @@ -14431,10 +14431,10 @@ case $PLATFORM_TRIPLET in #( perf_trampoline=yes ;; #( aarch64-linux-gnu) : perf_trampoline=yes ;; #( - x86_64-linux-gnu) : - perf_trampoline=yes ;; #( x86_64-linux-musl) : perf_trampoline=yes ;; #( + aarch64-linux-musl) : + perf_trampoline=yes ;; #( darwin) : case $MACOSX_DEPLOYMENT_TARGET in #( 10.[0-9]|10.1[0-1]) : diff --git a/configure.ac b/configure.ac index ead82d6da0b5..a8bd6b884a13 100644 --- a/configure.ac +++ b/configure.ac @@ -3873,8 +3873,8 @@ AC_MSG_CHECKING([perf trampoline]) AS_CASE([$PLATFORM_TRIPLET], [x86_64-linux-gnu], [perf_trampoline=yes], [aarch64-linux-gnu], [perf_trampoline=yes], - [x86_64-linux-gnu], [perf_trampoline=yes], [x86_64-linux-musl], [perf_trampoline=yes], + [aarch64-linux-musl], [perf_trampoline=yes], [darwin], [AS_CASE([$MACOSX_DEPLOYMENT_TARGET], [[10.[0-9]|10.1[0-1]]], [perf_trampoline=no], [perf_trampoline=yes]