Commit 8a6e7a67 authored by Diego Biurrun's avatar Diego Biurrun

configure: Use check_cpp in CPP flags tests

parent 831005b2
...@@ -865,7 +865,7 @@ check_code(){ ...@@ -865,7 +865,7 @@ check_code(){
check_cppflags(){ check_cppflags(){
log check_cppflags "$@" log check_cppflags "$@"
check_cc "$@" <<EOF && append CPPFLAGS "$@" check_cpp "$@" <<EOF && append CPPFLAGS "$@"
int x; int x;
EOF EOF
} }
...@@ -1135,7 +1135,7 @@ check_host_cpp(){ ...@@ -1135,7 +1135,7 @@ check_host_cpp(){
check_host_cppflags(){ check_host_cppflags(){
log check_host_cppflags "$@" log check_host_cppflags "$@"
check_host_cc "$@" <<EOF && append host_cppflags "$@" check_host_cpp "$@" <<EOF && append host_cppflags "$@"
int x; int x;
EOF EOF
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment