[FFmpeg-devel] [PATCH] configure: loongson revert expensive optimizations in gcc O3 optimization
周晓勇
zhouxiaoyong at loongson.cn
Wed Sep 9 11:50:25 CEST 2015
Hi, Michael
the yum repo maybe changed since last time i offered the fedora21.
you could get some resource you may need from this address:
http://mirror.lemote.com/fedora/
http://www.loongnix.org/cgit
---
>From f751d5e88a3f1dac956983d4df49e6797bd33e73 Mon Sep 17 00:00:00 2001
From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
Date: Wed, 9 Sep 2015 16:00:23 +0800
Subject: [PATCH] configure: loongson revert expensive optimizations in gcc O3
optimization
The failure of fate-acodec-dca or dca2 tests are caused by ccache.
At the same time enable ccache and expensive-optimizations, dca parser
would be compiled incorrectly. So there is no bug in loongson gcc-4.9.x.
Signed-off-by: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index cd0c22a..7d5dae7 100755
--- a/configure
+++ b/configure
@@ -4070,13 +4070,13 @@ elif enabled mips; then
disable aligned_stack
case $cpu in
loongson3*)
- cpuflags="-march=loongson3a -mhard-float -fno-expensive-optimizations"
+ cpuflags="-march=loongson3a -mhard-float"
;;
loongson2e)
- cpuflags="-march=loongson2e -mhard-float -fno-expensive-optimizations"
+ cpuflags="-march=loongson2e -mhard-float"
;;
loongson2f)
- cpuflags="-march=loongson2f -mhard-float -fno-expensive-optimizations"
+ cpuflags="-march=loongson2f -mhard-float"
;;
esac
;;
--
2.1.4
More information about the ffmpeg-devel
mailing list