Try removing `USE_CLANG_PLATFORM_BUILD := false` so that you're building
with Clang instead of GCC. All the AOSP devices that I checked are building
with Clang by default in android-7.0.0_r1, and the default for that
variable if unset was switched to true.
On Wed, Oct 26, 2016 at 10:01 AM
I compiled android-n with gcc, when build bionic/libc/ with the
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/, the compile errors
list as following:
mmma bionic/libc/ -B
FAILED: /bin/bash -c "(PWD=/proc/self/cwd