mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Use __clang_version__ when available
Originally committed as revision 24009 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8ee82f40ca
commit
b67a8f49a4
3
configure
vendored
3
configure
vendored
@ -1761,7 +1761,8 @@ elif $cc -version 2>/dev/null | grep -q TMS470; then
|
|||||||
}
|
}
|
||||||
elif $cc -v 2>&1 | grep -q clang; then
|
elif $cc -v 2>&1 | grep -q clang; then
|
||||||
cc_type=clang
|
cc_type=clang
|
||||||
cc_version=__VERSION__
|
$cc -dM -E $TMPC | grep -q __clang_version__ &&
|
||||||
|
cc_version=__clang_version__ || cc_version=__VERSION__
|
||||||
CC_DEPFLAGS='-MMD'
|
CC_DEPFLAGS='-MMD'
|
||||||
AS_DEPFLAGS='-MMD'
|
AS_DEPFLAGS='-MMD'
|
||||||
speed_cflags='-O3'
|
speed_cflags='-O3'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user