summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorMatthias Görgens <matthias.goergens@gmail.com>2023-03-04 21:39:52 (GMT)
committerGitHub <noreply@github.com>2023-03-04 21:39:52 (GMT)
commiteff9f43924fc836970b2378d58523388d9246194 (patch)
treef2461f074163219b36312dd12e0cdfbfbe323d1f /Doc/using
parente4609cbe4ca2d3d4fc07c19a7d0bdec52f054c63 (diff)
downloadcpython-eff9f43924fc836970b2378d58523388d9246194.zip
cpython-eff9f43924fc836970b2378d58523388d9246194.tar.gz
cpython-eff9f43924fc836970b2378d58523388d9246194.tar.bz2
gh-96821: Add config option `--with-strict-overflow` (#96823)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Shantanu <hauntsaninja@gmail.com>
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/configure.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index 8fa8d25..8936bd3 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -326,6 +326,11 @@ also be used to improve performance.
Enable C-level code profiling with ``gprof`` (disabled by default).
+.. cmdoption:: --with-strict-overflow
+
+ Add ``-fstrict-overflow`` to the C compiler flags (by default we add
+ ``-fno-strict-overflow`` instead).
+
.. _debug-build: