summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-08-08 20:27:43 +0200
committerDiego Biurrun <diego@biurrun.de>2016-11-09 20:51:56 +0100
commit8a6e7a67cb2943f552569801539829a304971302 (patch)
treee6cf8ea79badcafa8f096a1afb1a96dd77208b75 /configure
parent831005b2302cbeb377e3f00fd18c78928bcec185 (diff)
configure: Use check_cpp in CPP flags tests
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 4cfa0662d0..422036bfe6 100755
--- a/configure
+++ b/configure
@@ -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
}