[FFmpeg-devel] [PATCH] configure: replace arch loongson with arch extra list loongson

周晓勇 zhouxiaoyong at loongson.cn
Wed May 6 08:38:21 CEST 2015


>From a5031b4c4b97f790a40603cff9a1f45cbb043005 Mon Sep 17 00:00:00 2001
From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
Date: Wed, 6 May 2015 14:05:21 +0800
Subject: [PATCH] configure: replace arch loongson with arch extra list loongson

fate pass when do configure without --cc='ccache gcc' option:
./configure --enable-gpl --enable-pthreads --samples=/home/loongson/fate/
 --enable-nonfree --enable-version3 --assert-level=2 --cpu=loongson3a
 --enable-loongson3

Signed-off-by: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
---
 configure | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index d3f23c8..0f79874 100755
--- a/configure
+++ b/configure
@@ -1577,6 +1577,9 @@ ARCH_EXT_LIST_MIPS="
     mipsdspr1
     mipsdspr2
     msa
+"
+
+ARCH_EXT_LIST_LOONGSON="
     loongson3
 "
 
@@ -1617,7 +1620,7 @@ ARCH_EXT_LIST="
     $ARCH_EXT_LIST_PPC
     $ARCH_EXT_LIST_X86
     $ARCH_EXT_LIST_MIPS
-    loongson
+    $ARCH_EXT_LIST_LOONGSON
 "
 
 ARCH_FEATURES="
@@ -2018,7 +2021,6 @@ setend_deps="arm"
 
 map 'eval ${v}_inline_deps=inline_asm' $ARCH_EXT_LIST_ARM
 
-loongson_deps="mips"
 mipsfpu_deps="mips"
 mipsdspr1_deps="mips"
 mipsdspr2_deps="mips"
@@ -4686,8 +4688,6 @@ EOF
 
 elif enabled mips; then
 
-    check_inline_asm loongson '"dmult.g $1, $2, $3"'
-
     # Enable minimum ISA based on selected options
     if enabled mips64 && (enabled mipsdspr1 || enabled mipsdspr2); then
         add_cflags "-mips64r2"
--
1.8.3.1



More information about the ffmpeg-devel mailing list