From 99ab664ff84c07dd014fe4f04b3698e80eae3041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=99=93=E5=8B=87?= Date: Wed, 15 Jul 2015 17:28:31 +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 Signed-off-by: Michael Niedermayer (cherry picked from commit 2c34389551b6ba3d90f8783806c337e387e603cd) Conflicts: configure --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 806e2e9296..cf124b7e92 100755 --- a/configure +++ b/configure @@ -3965,7 +3965,7 @@ elif enabled mips; then enable fast_cmov enable fast_unaligned disable aligned_stack - cpuflags="-march=loongson3a -mhard-float" + cpuflags="-march=loongson3a -mhard-float -fno-expensive-optimizations" ;; generic) disable mips32r5