aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-26 18:56:19 +0200
committerGitHub <noreply@github.com>2019-04-26 18:56:19 +0200
commit6d13e5b35ba7165db3f38fccdd6e1e5283f96a74 (patch)
tree2ce1c2c8427548f0f018afd3b680447d3bd144a9 /configure
parentbpo-36722: Add What's New entry for debug ABI (GH-12957) (diff)
downloadcpython-6d13e5b35ba7165db3f38fccdd6e1e5283f96a74.tar.gz
cpython-6d13e5b35ba7165db3f38fccdd6e1e5283f96a74.tar.bz2
cpython-6d13e5b35ba7165db3f38fccdd6e1e5283f96a74.zip
bpo-36722: Don't define ALT_SOABI for Py_TRACE_REFS build (GH-12973)
Py_TRACE_REFS ABI is incompatible with release and debug (Py_DEBUG) ABI.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index b2775cf0400..7f26fab81fe 100755
--- a/configure
+++ b/configure
@@ -15128,7 +15128,8 @@ SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFO
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
$as_echo "$SOABI" >&6; }
-if test "$Py_DEBUG" = 'true'; then
+# Release and debug (Py_DEBUG) ABI are compatible, but not Py_TRACE_REFS ABI
+if test "$Py_DEBUG" = 'true' -a "$with_trace_refs" != "yes"; then
# Similar to SOABI but remove "d" flag from ABIFLAGS
ALT_SOABI='cpython-'`echo $VERSION | tr -d .``echo $ABIFLAGS | tr -d d`${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}