diff options
author | Mans Rullgard <mans@mansr.com> | 2012-08-27 22:19:42 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-08-27 23:14:06 +0100 |
commit | ae43c4c0c09fee63bc7ec9385b3fd381be7ba1d5 (patch) | |
tree | 83aaf567fb6fd750092923f37b6f7d7f96ef2ca4 /configure | |
parent | df0d63413801830b2b920259d4cefc85af1a8de4 (diff) | |
download | ffmpeg-ae43c4c0c09fee63bc7ec9385b3fd381be7ba1d5.tar.gz |
configure: use HOSTCC_C/O in check_host_cc
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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(){ |