
The Android NDK would be moving to Clang as its default compiler in the future. This patch allows OpenCV to build with the default c++_shared / c++_static TEST=Builds OpenCV with -DANDROID_TOOLCHAIN_NAME= aarch64-linux-android-clang3.6 -DANDROID_STL=c++_shared
See http://opencv.org/platforms/android.html