Commit 453944cc authored by Jörg Krause's avatar Jörg Krause Committed by Michael Niedermayer

configure: fix check_cmd in check_host_cpp

Use correct cpp and c flags variables for the host libc.
Signed-off-by: 's avatarJörg Krause <jkrause@posteo.de>
Reviewed-by: 's avatarBenoit Fouet <benoit.fouet@free.fr>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8e8db16a
...@@ -1244,7 +1244,7 @@ check_host_cpp(){ ...@@ -1244,7 +1244,7 @@ check_host_cpp(){
log check_host_cpp "$@" log check_host_cpp "$@"
cat > $TMPC cat > $TMPC
log_file $TMPC log_file $TMPC
check_cmd $host_cc $HOSTCPPFLAGS $HOSTCFLAGS "$@" $(hostcc_e $TMPO) $TMPC check_cmd $host_cc $host_cppflags $host_cflags "$@" $(hostcc_e $TMPO) $TMPC
} }
check_host_cppflags(){ check_host_cppflags(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment