summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android/abi-mips64-Clang.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Android: Set CMAKE_POSITION_INDEPENDENT_CODE automaticallyBrad King2016-10-241-4/+0
| | | | | | | | | | | If the toolchain file or cache does not set this, enable it automatically based on the Android API version. Versions 16 and above expect position independent code. Use the main `CMAKE_POSITION_INDEPENDENT_CODE` setting in favor of hard-coding `-fpic` or `-fPIC` in the compiler flags for each ABI. This allows CMake to use `-fpie` or `-fPIE` as needed when sources are meant for executables, and `-fpic` or `-fPIC` for other sources.
* Android: Populate compiler flags for current ABIBrad King2016-08-231-0/+5
| | | | | Initialize the CMAKE_{C,CXX}_FLAGS{,_<CONFIG>} cache entries with flags for each ABI as specified by NDK toolchain `setup.mk` files.
* Android: Add Clang -target option for current ABIBrad King2016-08-121-0/+1
|
* Android: Add placeholders for compiler/abi-specific settingsBrad King2016-08-121-0/+2
The Android NDK source repository at https://android.googlesource.com/platform/ndk.git has `<ndk>/build/core/toolchains/*/setup.mk` files that store tables of information for their build system. Add an equivalent file for each compiler/abi combination.