diff options
author | Adam Langley <agl@google.com> | 2015-06-19 03:32:29 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-06-19 03:32:29 +0300 |
commit | 5148c67e432ee9b468875a37852de4be4a6783b0 (patch) | |
tree | 4c550c550b5cd09a64c3da7209e1ee17dcbad469 /BUILDING | |
parent | 7e8f2baeb7f4987539396948bee91f599a86c52f (diff) |
Suggest building at Android API level 16.
Android >= L requires that binaries be position independent. However,
this is only enabled with API level 16 or above. Since developers are
likely to have modern Android versions, suggest API level 16 in the
BUILDING file to save someone in the future having to figure this out.
Change-Id: I66db7228e3d6fef0aa8dcfcfff67a71cb630a2b9
Diffstat (limited to 'BUILDING')
-rw-r--r-- | BUILDING | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -67,6 +67,7 @@ Then make a build directory as above and run CMake *twice* like this: cmake -DANDROID_NATIVE_API_LEVEL=android-9 \ -DANDROID_ABI=armeabi-v7a \ -DCMAKE_TOOLCHAIN_FILE=../util/android-cmake/android.toolchain.cmake \ + -DANDROID_NATIVE_API_LEVEL=16 \ -GNinja .. Once you've run that twice, ninja should produce Android-compatible binaries. |