Commit b67a8f49 authored by David Conrad's avatar David Conrad

Use __clang_version__ when available

Originally committed as revision 24009 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8ee82f40
......@@ -1761,7 +1761,8 @@ elif $cc -version 2>/dev/null | grep -q TMS470; then
}
elif $cc -v 2>&1 | grep -q clang; then
cc_type=clang
cc_version=__VERSION__
$cc -dM -E $TMPC | grep -q __clang_version__ &&
cc_version=__clang_version__ || cc_version=__VERSION__
CC_DEPFLAGS='-MMD'
AS_DEPFLAGS='-MMD'
speed_cflags='-O3'
......
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