编译ijkplayer的时候遇到这个问题:
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
./libavutil/arm/asm.S:50:9: error: unknown directive
.arch armv7-a
^
make: *** [libavcodec/arm/aacpsdsp_neon.o] Error 1
make: *** Waiting for unfinished jobs....
解决方法:
在compile-ffmpeg.sh脚本中删除armv7, 修改如下:
FF_ALL_ARCHS_IOS8_SDK="arm64 i386 x86_64"