[FFmpeg-cvslog] configure: use HOSTCC_C/O in check_host_cc

Mans Rullgard git at videolan.org
Tue Aug 28 16:33:24 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Mon Aug 27 22:19:42 2012 +0100| [ae43c4c0c09fee63bc7ec9385b3fd381be7ba1d5] | committer: Mans Rullgard

configure: use HOSTCC_C/O in check_host_cc

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae43c4c0c09fee63bc7ec9385b3fd381be7ba1d5
---

 configure |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 6a338c0..5bada00 100755
--- a/configure
+++ b/configure
@@ -906,11 +906,15 @@ require_pkg_config(){
     add_extralibs $(get_safe ${pkg}_libs)
 }
 
+hostcc_o(){
+    eval printf '%s\\n' $HOSTCC_O
+}
+
 check_host_cc(){
     log check_host_cc "$@"
     cat > $TMPC
     log_file $TMPC
-    check_cmd $host_cc $host_cflags "$@" -c -o $TMPO $TMPC
+    check_cmd $host_cc $host_cflags "$@" $HOSTCC_C $(hostcc_o $TMPO) $TMPC
 }
 
 check_host_cflags(){



More information about the ffmpeg-cvslog mailing list