diff options
author | Stefan Krah <skrah@bytereef.org> | 2011-09-14 13:14:08 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2011-09-14 13:14:08 (GMT) |
commit | 962055d3c658e9b2e75ba4c3682c3639eea9aed8 (patch) | |
tree | 633da41071778dff2562c08e05a3ec86c9a7c7df /configure | |
parent | d71bbf9fd5562ed50ebce993e1137ae7de0589f7 (diff) | |
download | cpython-962055d3c658e9b2e75ba4c3682c3639eea9aed8.zip cpython-962055d3c658e9b2e75ba4c3682c3639eea9aed8.tar.gz cpython-962055d3c658e9b2e75ba4c3682c3639eea9aed8.tar.bz2 |
Issue #11149: recent versions of clang require the -fwrapv flag.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5504,6 +5504,12 @@ then if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then WRAP="-fwrapv" fi + + # Clang also needs -fwrapv + if test "$CC" = "clang" ; then + WRAP="-fwrapv" + fi + case $ac_cv_prog_cc_g in yes) if test "$Py_DEBUG" = 'true' ; then |