I'm trying to build this project https://github.com/simplepeng/ijkplayer-x264 but building x264 failing for x86 and x86_64 architectures . Link of the issue : https://github.com/simplepeng/ijkplayer-x264/issues/1
You use mix of different architectures for configure and compilation with options:
--cross-prefix=i686-linux-android- --host=arm-linux
In result configure thinks that you compiles for ARM platform but make use i686-linux-android-gcc for cross compilation. You should use:
--cross-prefix=i686-linux-android- --host=i686-linux-android