1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Set as_default after compiler detection, allowing compiler-specific defaults

Originally committed as revision 19413 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-07-12 13:29:55 +00:00
parent 2f2e6c7ce1
commit 75bafbac7b

2
configure vendored
View File

@ -1408,7 +1408,6 @@ strip="${cross_prefix}${strip}"
sysinclude_default="${sysroot}/usr/include"
set_default cc nm sysinclude
as_default=$cc
enabled cross_compile || host_cc_default=$cc
set_default host_cc
@ -1493,6 +1492,7 @@ fi
test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
: ${as_default:=$cc}
: ${dep_cc_default:=$cc}
: ${ld_default:=$cc}
set_default as dep_cc ld