[FFmpeg-devel] [PATCH] configure: loongson disable expensive optimizations in gcc O3 optimization
周晓勇
zhouxiaoyong at loongson.cn
Wed Jul 15 11:28:31 CEST 2015
>From 18f5219dd892432c21485f2e26b91c565bde4070 Mon Sep 17 00:00:00 2001
From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
Date: Tue, 14 Jul 2015 13:39:04 +0800
Subject: [PATCH] configure: loongson disable expensive optimizations in gcc O3
optimization
With gcc-4.9.2 loongson faild in test fate-dca, this is caused by option
-fexpensive-optimizations in -O3 optimization. We disable it temporarily
before the bug been fixed up.
Signed-off-by: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 88ee936..9e64aba 100755
--- a/configure
+++ b/configure
@@ -3997,13 +3997,13 @@ elif enabled mips; then
disable aligned_stack
case $cpu in
loongson3*)
- cpuflags="-march=loongson3a -mhard-float"
+ cpuflags="-march=loongson3a -mhard-float -fno-expensive-optimizations"
;;
loongson2e)
- cpuflags="-march=loongson2e -mhard-float"
+ cpuflags="-march=loongson2e -mhard-float -fno-expensive-optimizations"
;;
loongson2f)
- cpuflags="-march=loongson2f -mhard-float"
+ cpuflags="-march=loongson2f -mhard-float -fno-expensive-optimizations"
;;
esac
;;
--
2.1.0
More information about the ffmpeg-devel
mailing list