Configurations/15-android.conf: detect clang by PATH, not by CC.
authorAndy Polyakov <appro@openssl.org>
Sat, 17 Mar 2018 09:59:57 +0000 (10:59 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 19 Mar 2018 13:31:30 +0000 (14:31 +0100)
commitdf3a15512bd0f5ddd9f0dd74f0a058ee55b33904
treeee025ba3683d313cbb4e58d2d09dc1787725a0cb
parentf39276fdff6ccc1c71bdb30a8050fa1c0bf6e20a
Configurations/15-android.conf: detect clang by PATH, not by CC.

Since they intend to omit gcc, it's more appropriate to simply detect
if there is NDK's clang on PATH, as opposite to requiring to specify it
with CC=clang (and looking for it on PATH).

Also detect NDK version and default to armv7-a for NDK>16.

Address failure to recognize -D__ADNDROID_API__=N in CPPFLAGS.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5613)
Configurations/15-android.conf
NOTES.ANDROID