aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-26 19:36:28 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-26 19:36:28 +0100
commit51b7ab2ee70fa6f8f5ee2f7339e92d60ded57834 (patch)
tree4b51fe4db4f5dbb398f06b89285f61f2207ba3c1
parent43e5e3c077bcc41b54a3d306ea149f2895cabb32 (diff)
parent82b6e451161f19ab90bfb9565b710021caf5dcbd (diff)
downloadffmpeg-51b7ab2ee70fa6f8f5ee2f7339e92d60ded57834.tar.gz
Merge commit '82b6e451161f19ab90bfb9565b710021caf5dcbd'
* commit '82b6e451161f19ab90bfb9565b710021caf5dcbd': configure: Move the cross_prefix setting after the toolchain one Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure22
1 files changed, 11 insertions, 11 deletions
diff --git a/configure b/configure
index d037da105c..02b14de54b 100755
--- a/configure
+++ b/configure
@@ -2996,17 +2996,6 @@ if enabled cross_compile; then
die "Must specify target arch and OS when cross-compiling"
fi
-ar_default="${cross_prefix}${ar_default}"
-cc_default="${cross_prefix}${cc_default}"
-cxx_default="${cross_prefix}${cxx_default}"
-nm_default="${cross_prefix}${nm_default}"
-pkg_config_default="${cross_prefix}${pkg_config_default}"
-ranlib_default="${cross_prefix}${ranlib_default}"
-strip_default="${cross_prefix}${strip_default}"
-windres_default="${cross_prefix}${windres_default}"
-
-sysinclude_default="${sysroot}/usr/include"
-
test -n "$valgrind" && toolchain="valgrind-memcheck"
case "$toolchain" in
@@ -3093,6 +3082,17 @@ case "$toolchain" in
;;
esac
+ar_default="${cross_prefix}${ar_default}"
+cc_default="${cross_prefix}${cc_default}"
+cxx_default="${cross_prefix}${cxx_default}"
+nm_default="${cross_prefix}${nm_default}"
+pkg_config_default="${cross_prefix}${pkg_config_default}"
+ranlib_default="${cross_prefix}${ranlib_default}"
+strip_default="${cross_prefix}${strip_default}"
+windres_default="${cross_prefix}${windres_default}"
+
+sysinclude_default="${sysroot}/usr/include"
+
set_default arch cc cxx doxygen pkg_config ranlib strip sysinclude \
target_exec target_os yasmexe
enabled cross_compile || host_cc_default=$cc