[FFmpeg-devel] [PATCH] mips: disable all features in configure if no cpu is matched
Nedeljko Babic
Nedeljko.Babic at imgtec.com
Thu Oct 15 14:05:08 CEST 2015
Hello,
>Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
>---
> configure | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
>diff --git a/configure b/configure
>index 7e55e92..cd27ad7 100755
>--- a/configure
>+++ b/configure
>@@ -4130,6 +4130,15 @@ elif enabled mips; then
> disable mips64r6
> disable msa
> ;;
>+ *)
>+ disable mipsfpu
>+ disable mips32r2
>+ disable mips32r5
>+ disable mips64r6
>+ disable mipsdspr1
>+ disable mipsdspr2
>+ disable msa
>+ ;;
> esac
This case will never be reached.
If configure “--cpu” option is not used, default is cpu=generic.
On the other hand, if cpu option is used with some cpu that is not supported in
the list, configuration will break since “-march” is set to that cpu value.
>
> elif enabled ppc; then
-Nedeljko
More information about the ffmpeg-devel
mailing list