OSDN Git Service

configure: fix check_cmd in check_host_cpp
authorJörg Krause <jkrause@posteo.de>
Thu, 11 Sep 2014 11:55:48 +0000 (13:55 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 11 Sep 2014 16:42:23 +0000 (18:42 +0200)
Use correct cpp and c flags variables for the host libc.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index e66519d..7a711a2 100755 (executable)
--- 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(){