From the release log:
- Made GCC 4.8 the default for all 32-bit ABIs. Deprecated GCC 4.6, and will remove it next release. To restore previous behavior, either add
NDK_TOOLCHAIN_VERSION=4.6to ndk-build, or add
make-standalone-toolchain.shon the command line. GCC 4.9 remains the default for 64-bit ABIs.
- Stopped all x86[_64] toolchains from adding
-mstackrealignby default. The NDK toolchain assumes a 16-byte stack alignment. The tools and options used by default enforce this rule. A user writing assembly code must make sure to preserve stack alignment, and ensure that other compilers also comply with this rule. (GCC bug 38496)
- Added Address Sanitizer functionality to Clang 3.5 support to the ARM and x86 ABIs. For more information on this change, see the Address Sanitizer project.
- Introduced the requirement, starting from API level 21, to use
-fPIE -piewhen building. In API levels 16 and higher, ndk-build uses
PIEwhen building. This change has a number of implications, which are discussed in Developer Preview Issue 888. These implications do not apply to shared libraries.
And much more ...