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 +

+ 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 +

+ case $ac_cv_prog_cc_g in yes) if test "$Py_DEBUG" = 'true' ; then