Commit 75bafbac authored by Måns Rullgård's avatar Måns Rullgård

Set as_default after compiler detection, allowing compiler-specific defaults

Originally committed as revision 19413 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2f2e6c7c
......@@ -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
......
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