Commit af04ff2b authored by Stefan Krah's avatar Stefan Krah

Issue #11149: Also enable -fwrapv if $CC is a full path

or has a trailing version number.
parent 0cd47907
......@@ -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)
......
......@@ -928,9 +928,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)
......
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