kernel: disable Android-specific compiler features for assembler code

Kernels >= v4.x fail to build for x86_64 in IA32_EMULATION mode using
Android compilers. This happens because of the '-mandroid' option
enabled by default in Android compilers.
This option is already disabled for C code compiling and this CL
removes the option for assembler code also.

Change-Id: Ifabe7c3505afb4e73b328f546403b19fd35e64f3
Signed-off-by: Mihai Serban <>
Signed-off-by: Bruce Beare <>
1 file changed