summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Krause <jkrause@posteo.de>2014-09-11 13:55:48 +0200
committerMartin Storsjö <martin@martin.st>2014-09-17 22:53:26 +0300
commit3f2c70355ab722bc9f741bd3ed8224c7cfb62379 (patch)
tree8f88d04f4cf083d6054a0bd997a2482a01b2cec4
parentc5560e72d0bb69f8a1ac9536570398f84388f396 (diff)
configure: Use the right variables in check_host_cpp
HOSTCPPFLAGS and HOSTCFLAGS are only set in config.mak. Signed-off-by: Martin Storsjö <martin@martin.st>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a7b3c55eeb..59dd4532df 100755
--- 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(){