I am getting "clang70: error: unknown argument: '-mandroid'" error when I try to compile on macOS. I think this may be because by default the mac uses a 'g++' alias to clang instead of the regular GCC compiler.
AFAIK, you can't build the openssl 1.1.0h with clang.
Please specify the ANDROID_NDK_ROOT so that
the script will create standalone toolchain and use the toolchain's gcc to compile.
I am getting "clang70: error: unknown argument: '-mandroid'" error when I try to compile on macOS. I think this may be because by default the mac uses a 'g++' alias to clang instead of the regular GCC compiler.
Here is the full error;