[FFmpeg-devel] [PATCH 1/1] configure: fix check_cmd in check_host_cpp

Jörg Krause jkrause at posteo.de
Thu Sep 11 13:55:48 CEST 2014


Use correct cpp and c flags variables for the host libc.

Signed-off-by: Jörg Krause <jkrause at posteo.de>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index e66519d..7a711a2 100755
--- a/configure
+++ b/configure
@@ -1244,7 +1244,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(){
-- 
2.1.0



More information about the ffmpeg-devel mailing list