diff --git a/configure b/configure index 9d35abd7cc..c4671a6423 100755 --- a/configure +++ b/configure @@ -4162,9 +4162,10 @@ elif enabled mips; then disable mipsdsp disable mipsdspr2 disable mipsfpu - - check_cflags "-mtune=i6400 -mabi=64" - check_ldflags "-mabi=64" + check_cflags "-mtune=i6400 -mabi=64" && + check_cflags "-mfp64 -msched-weight -mload-store-pairs -funroll-loops" && + check_ldflags "-mabi=64" && + add_asflags "-mfp64" ;; loongson*) disable mipsfpu