Backport second fix for issue #11149.

This commit is contained in:
Stefan Krah 2011-12-08 22:26:06 +01:00
parent 0de2aaea7f
commit 2bc1e8fbf2
2 changed files with 8 additions and 6 deletions

7
configure vendored
View File

@ -5413,9 +5413,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)

View File

@ -934,9 +934,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)