cpython: 0f1e8c246a7b (original) (raw)
Mercurial > cpython
changeset 72377:0f1e8c246a7b 3.2
Issue #11149: recent versions of clang require the -fwrapv flag. [#11149]
Stefan Krah skrah@bytereef.org | |
---|---|
date | Wed, 14 Sep 2011 15:14:08 +0200 |
parents | bc5b96c92770 |
children | 637c67b34a1a e74860883a9c |
files | configure configure.in |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-)[+] [-] configure 6 configure.in 6 |
line wrap: on
line diff
--- a/configure +++ b/configure @@ -5504,6 +5504,12 @@ then if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then WRAP="-fwrapv" fi +
# Clang also needs -fwrapv[](#l1.8)
if test "$CC" = "clang" ; then[](#l1.9)
WRAP="-fwrapv"[](#l1.10)
fi[](#l1.11)
+ case $ac_cv_prog_cc_g in yes) if test "$Py_DEBUG" = 'true' ; then
--- a/configure.in +++ b/configure.in @@ -926,6 +926,12 @@ then if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then WRAP="-fwrapv" fi +
# Clang also needs -fwrapv[](#l2.8)
if test "$CC" = "clang" ; then[](#l2.9)
WRAP="-fwrapv"[](#l2.10)
fi[](#l2.11)
+ case $ac_cv_prog_cc_g in yes) if test "$Py_DEBUG" = 'true' ; then