Skip to content

Commit

Permalink
Revert "Clarify wording of __ANDROID_API__ build documentation."
Browse files Browse the repository at this point in the history
This reverts commit df1ee11.
  • Loading branch information
briansmith committed May 15, 2018
1 parent 1d9c76a commit b98f61f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,9 @@ Note in particular that if you are cross-compiling an x86 build on a 64-bit
version of Linux, then you need to have the proper gcc-multilibs and
g++-multilibs packages or equivalent installed.

If you generate a standalone NDK toolchain in order to compile your project,
the wrapper automatically passes flags to the actual compiler to define the
`__ANDROID_API__` macro. Otherwise, the macro `__ANDROID_API__` must be
defined with a value of at least 21 on 64-bit targets or 18 on 32-bit targets;
e.g. export `CFLAGS=-D__ANDROID_API__=21`.
On Android, you will need to define the `__ANDROID_API__` constant to at least
`21` on 64-bit and `18` on 32-bit.



Additional Features that are Useful for Development
Expand Down

0 comments on commit b98f61f

Please sign in to comment.