diff options
author | 周晓勇 <zhouxiaoyong@loongson.cn> | 2015-07-15 17:28:31 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-15 13:24:23 +0200 |
commit | 2c34389551b6ba3d90f8783806c337e387e603cd (patch) | |
tree | df98ed0ff7a8de917b293a88162b583a78a3155e | |
parent | 9d8070afe11af7004973c114d5746930312317f1 (diff) | |
download | ffmpeg-2c34389551b6ba3d90f8783806c337e387e603cd.tar.gz |
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@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4000,13 +4000,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 ;; |