configure: Use check_cpp in CPP flags tests

This commit is contained in:
Diego Biurrun 2016-08-08 20:27:43 +02:00
parent 831005b230
commit 8a6e7a67cb
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -865,7 +865,7 @@ check_code(){
check_cppflags(){
log check_cppflags "$@"
check_cc "$@" <<EOF && append CPPFLAGS "$@"
check_cpp "$@" <<EOF && append CPPFLAGS "$@"
int x;
EOF
}
@ -1135,7 +1135,7 @@ check_host_cpp(){
check_host_cppflags(){
log check_host_cppflags "$@"
check_host_cc "$@" <<EOF && append host_cppflags "$@"
check_host_cpp "$@" <<EOF && append host_cppflags "$@"
int x;
EOF
}