Commit be92b149 authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17522 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e0ca3791
......@@ -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