diff options
author | Stefan Krah <skrah@bytereef.org> | 2011-09-14 13:19:42 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2011-09-14 13:19:42 (GMT) |
commit | 503e5e12c27bf130d388e09fe770d16d9b486821 (patch) | |
tree | 6ad3abf2feb64609d386d9cac8d1e56cc97f47f1 /configure | |
parent | 0d4c34c6ecde228c6b4c87ffce136313a85387ab (diff) | |
download | cpython-503e5e12c27bf130d388e09fe770d16d9b486821.zip cpython-503e5e12c27bf130d388e09fe770d16d9b486821.tar.gz cpython-503e5e12c27bf130d388e09fe770d16d9b486821.tar.bz2 |
Backport fix for issue #11149.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5411,6 +5411,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 |