diff options
author | Stefan Krah <skrah@bytereef.org> | 2011-12-08 21:20:31 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2011-12-08 21:20:31 (GMT) |
commit | af04ff2b974415f3f93d70f974a40b0445cf4aca (patch) | |
tree | e513eb4d809c61bf189a81f1294b7ffd4ee51fd7 /configure | |
parent | 0cd479074d3e607e81661e73440eff87264cf737 (diff) | |
download | cpython-af04ff2b974415f3f93d70f974a40b0445cf4aca.zip cpython-af04ff2b974415f3f93d70f974a40b0445cf4aca.tar.gz cpython-af04ff2b974415f3f93d70f974a40b0445cf4aca.tar.bz2 |
Issue #11149: Also enable -fwrapv if $CC is a full path
or has a trailing version number.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -5498,9 +5498,10 @@ then fi # Clang also needs -fwrapv - if test "$CC" = "clang" ; then - WRAP="-fwrapv" - fi + case $CC in + *clang*) WRAP="-fwrapv" + ;; + esac case $ac_cv_prog_cc_g in yes) |