]> git.sesse.net Git - ffmpeg/commit
ffbuild: Refine MIPS handling
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sat, 18 Jul 2020 15:35:37 +0000 (23:35 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 23 Jul 2020 14:30:02 +0000 (16:30 +0200)
commitd57d6def733e6324d4ec7bcbf0ef4ef7ed5e551b
treeb35ceb7647f21ab87d001c035ad1560411dda472
parentb61d3dfab0d75daf81f366c12c57539c90e9b38b
ffbuild: Refine MIPS handling

To enable runtime detection for MIPS, we need to refine ffbuild
part to support buildding these feature together.

Firstly, we fixed configure, let it probe native ability of toolchain
to decide wether a feature can to be enabled, also clearly marked
the conflictions between loongson2 & loongson3 and Release 6 & rest.

Secondly, we compile MMI and MSA C sources with their own flags to ensure
their flags won't pollute the whole program and generate illegal code.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
configure
ffbuild/common.mak
libavcodec/mips/Makefile