summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dd7a2a11..6749a145 100644
--- a/Makefile
+++ b/Makefile
@@ -566,6 +566,12 @@ conftest.darwin:
echo yes ; \
fi
+.PHONY: conftest.android
+conftest.android:
+ $(V)if echo | $(CC) -dM -E - | grep -s __ANDROID__ > /dev/null 2>&1 ; then \
+ echo yes ; \
+ fi
+
.PHONY: conftest.clean
conftest.clean:
$(V)rm -f conftest$(EXE) conftest.[co] \