OSDN Git Service

configure: Use the right variables in check_host_cpp
authorJörg Krause <jkrause@posteo.de>
Thu, 11 Sep 2014 11:55:48 +0000 (13:55 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 17 Sep 2014 19:53:26 +0000 (22:53 +0300)
HOSTCPPFLAGS and HOSTCFLAGS are only set in config.mak.

Signed-off-by: Martin Storsjö <martin@martin.st>
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(){