Commit b9d9e1cf authored by mru's avatar mru

Set as_default after compiler detection, allowing compiler-specific defaults

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19413 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ac1cccf6
......@@ -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