Merge second fix for issue #11149.
This commit is contained in:
commit
9a17cc3c53
|
@ -5450,9 +5450,10 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clang also needs -fwrapv
|
# Clang also needs -fwrapv
|
||||||
if test "$CC" = "clang" ; then
|
case $CC in
|
||||||
WRAP="-fwrapv"
|
*clang*) WRAP="-fwrapv"
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case $ac_cv_prog_cc_g in
|
case $ac_cv_prog_cc_g in
|
||||||
yes)
|
yes)
|
||||||
|
|
|
@ -907,9 +907,10 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clang also needs -fwrapv
|
# Clang also needs -fwrapv
|
||||||
if test "$CC" = "clang" ; then
|
case $CC in
|
||||||
WRAP="-fwrapv"
|
*clang*) WRAP="-fwrapv"
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case $ac_cv_prog_cc_g in
|
case $ac_cv_prog_cc_g in
|
||||||
yes)
|
yes)
|
||||||
|
|
Loading…
Reference in New Issue