summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJörg Krause <jkrause@posteo.de>2014-09-11 13:55:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-11 18:42:23 +0200
commit453944cc77b9ea27c74011eb7c0e20c887b321cf (patch)
tree19f2f43b3cfee9bb15d004733542d4447ac249f6 /configure
parent8e8db16a2cf54c95158e59b281b424cc8ff4e931 (diff)
configure: fix check_cmd in check_host_cpp
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e66519db35..7a711a2af7 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(){