aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-12 13:29:55 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-12 13:29:55 +0000
commit75bafbac7b84ba6e61dbb3aba6de9484ea3d8a99 (patch)
tree8851f82e78457277bff263d72788f9ebc68b0060 /configure
parent2f2e6c7ce1ea89a6a4aaa2dfdf30b12986bf5115 (diff)
downloadffmpeg-75bafbac7b84ba6e61dbb3aba6de9484ea3d8a99.tar.gz
Set as_default after compiler detection, allowing compiler-specific defaults
Originally committed as revision 19413 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 2c1c1ac692..244d272fff 100755
--- a/configure
+++ b/configure
@@ -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