mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
configure: make gcc 2 detection more robust
Solves an issue that will get triggered when gcc 20 rolls in. Found-by: Hendrik Leppkes <h.leppkes@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
parent
b0e23f2a37
commit
29bc293297
3
configure
vendored
3
configure
vendored
@ -3699,7 +3699,8 @@ probe_cc(){
|
||||
gcc_ext_ver=$(expr "$gcc_version" : ".*$gcc_pkg_ver $gcc_basever \\(.*\\)")
|
||||
_ident=$(cleanws "gcc $gcc_basever $gcc_pkg_ver $gcc_ext_ver")
|
||||
case $gcc_basever in
|
||||
2*) ;;
|
||||
2) ;;
|
||||
2.*) ;;
|
||||
*) _depflags='-MMD -MF $(@:.o=.d) -MT $@' ;;
|
||||
esac
|
||||
if [ "$first" = true ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user