Commit 3a636b6f authored by Diego Biurrun's avatar Diego Biurrun

Fix gcc detection: Not all gcc versions have "(GCC)" in the version string.

Originally committed as revision 17522 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a9d3c669
......@@ -1356,7 +1356,7 @@ EOF
fi
rm $TMPSH
if $cc --version 2>/dev/null | grep -q '(GCC)'; then
if $cc --version 2>/dev/null | grep -qi gcc; then
cc_type=gcc
elif $cc --version 2>/dev/null | grep -q Intel; then
cc_type=icc
......
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