We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ac_cv_func_explicit_bzero=no
1 parent ea84a55 commit 6e94027Copy full SHA for 6e94027
cpython-unix/build-cpython.sh
@@ -475,6 +475,12 @@ if [ "${PYBUILD_PLATFORM}" = "macos" ]; then
475
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_func_ptsname_r=no"
476
fi
477
478
+# explicit_bzero is only available in glibc 2.25+, but we target a lower version for compatibility.
479
+# it's only needed for the HACL Blake2 implementation in Python 3.14+
480
+if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_14}" ]; then
481
+ CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_func_explicit_bzero=no"
482
+fi
483
+
484
# We use ndbm on macOS and BerkeleyDB elsewhere.
485
if [ "${PYBUILD_PLATFORM}" = "macos" ]; then
486
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --with-dbmliborder=ndbm"
0 commit comments