configure: Use the right variables in check_host_cpp
[ffmpeg.git] / configure
index a7b3c55..59dd453 100755 (executable)
--- a/configure
+++ b/configure
@@ -1067,7 +1067,7 @@ check_host_cpp(){
     log check_host_cpp "$@"
     cat > $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(){