CMake/Modules/Platform/Android
Brad King 4c272adbe1 Android: Link position-independent executables with proper flags
Add `-fPIE -pie` to the default executable link flags when
`CMAKE_POSITION_INDEPENDENT_CODE` is enabled.  This is required by
Android 16 and above for executables to run on the device.

Closes: #16382
2016-10-24 11:45:18 -04:00
..
Determine-Compiler-NDK.cmake Simplify CMake per-source license notices 2016-09-27 15:14:44 -04:00
Determine-Compiler-Standalone.cmake Simplify CMake per-source license notices 2016-09-27 15:14:44 -04:00
Determine-Compiler.cmake Simplify CMake per-source license notices 2016-09-27 15:14:44 -04:00
abi-arm64-v8a-Clang.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-arm64-v8a-GNU.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-armeabi-Clang.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-armeabi-GNU.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-armeabi-v6-Clang.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-armeabi-v6-GNU.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-armeabi-v7a-Clang.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-armeabi-v7a-GNU.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-common-Clang.cmake Android: Populate compiler flags for current ABI 2016-08-23 12:51:58 -04:00
abi-common-GNU.cmake Android: Add placeholders for compiler/abi-specific settings 2016-08-12 10:40:54 -04:00
abi-common.cmake Android: Link position-independent executables with proper flags 2016-10-24 11:45:18 -04:00
abi-mips-Clang.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-mips-GNU.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-mips64-Clang.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-mips64-GNU.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-x86-Clang.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-x86-GNU.cmake Android: Add placeholders for compiler/abi-specific settings 2016-08-12 10:40:54 -04:00
abi-x86_64-Clang.cmake Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically 2016-10-24 11:40:53 -04:00
abi-x86_64-GNU.cmake Android: Add placeholders for compiler/abi-specific settings 2016-08-12 10:40:54 -04:00
ndk-stl-c++.cmake Android: Fix support for cxxabi.h with libc++ 2016-10-07 09:53:51 -04:00
ndk-stl-c++_shared.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-c++_static.cmake Android: Fix support for armeabi with c++_static 2016-10-21 08:42:25 -04:00
ndk-stl-gabi++.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-gabi++_shared.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-gabi++_static.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-gnustl.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-gnustl_shared.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-gnustl_static.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-none.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-stlport.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-stlport_shared.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-stlport_static.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00
ndk-stl-system.cmake Android: Select the STL type for NDK builds 2016-08-23 12:53:10 -04:00