mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
configure: use HOSTCC_C/O in check_host_cc
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
df0d634138
commit
ae43c4c0c0
6
configure
vendored
6
configure
vendored
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user