summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAyappan Perumal <ayappap2@in.ibm.com>2023-10-22 20:58:52 (GMT)
committerGitHub <noreply@github.com>2023-10-22 20:58:52 (GMT)
commit88bac5d5044e577825db1f9367af908dc9a3ad82 (patch)
tree651e0d2d0aec6eb5be5f1a00f36c7d79af8141e9 /configure
parent767f416feb551f495bacfff1e9ba1e6672c2f24e (diff)
downloadcpython-88bac5d5044e577825db1f9367af908dc9a3ad82.zip
cpython-88bac5d5044e577825db1f9367af908dc9a3ad82.tar.gz
cpython-88bac5d5044e577825db1f9367af908dc9a3ad82.tar.bz2
gh-110828: AIX 32bit build needs -latomic for _testcapi module (#110962)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 3bf92dd..8b90c13 100755
--- a/configure
+++ b/configure
@@ -27931,6 +27931,7 @@ printf "%s\n" "$ac_cv_libatomic_needed" >&6; }
if test "x$ac_cv_libatomic_needed" = xyes
then :
LIBS="${LIBS} -latomic"
+ LIBATOMIC=${LIBATOMIC-"-latomic"}
fi
CPPFLAGS=$save_CPPFLAGS
@@ -30084,7 +30085,7 @@ fi
then :
-
+ as_fn_append MODULE_BLOCK "MODULE__TESTCAPI_LDFLAGS=$LIBATOMIC$as_nl"
fi
if test "$py_cv_module__testcapi" = yes; then