Commit e58c0543 authored by Stefan Krah's avatar Stefan Krah

Backport second fix for issue #11149.

parent 0df18470
...@@ -5413,9 +5413,10 @@ then ...@@ -5413,9 +5413,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)
......
...@@ -934,9 +934,10 @@ then ...@@ -934,9 +934,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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment