From 3741e0583f1791d91ad7109e7a88f22555988398 Mon Sep 17 00:00:00 2001
From: root <root@buildserver.bfsu.edu.cn>
Date: Thu, 18 Jun 2015 12:11:17 +0000
Subject: [PATCH 1/2] gcc-5 mips 32 fpxx

---
 debian/rules2 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/rules2 b/debian/rules2
index 0a548c7..6a052db 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -567,7 +567,7 @@ ifneq (,$(filter $(DEB_TARGET_ARCH), amd64 i386 hurd-i386 kfreebsd-i386 kfreebsd
 endif
 
 ifneq (,$(findstring mips-linux,$(DEB_TARGET_GNU_TYPE)))
-  CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
+  CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch64),yes-yes)
       CONFARGS += --enable-targets=all
@@ -577,7 +577,7 @@ ifneq (,$(findstring mips-linux,$(DEB_TARGET_GNU_TYPE)))
 endif
 
 ifneq (,$(findstring mipsel-linux,$(DEB_TARGET_GNU_TYPE)))
-  CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
+  CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch64),yes-yes)
       CONFARGS += --enable-targets=all
@@ -593,7 +593,7 @@ ifneq (,$(findstring mips64el-linux-gnuabin32,$(DEB_TARGET_GNU_TYPE)))
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
       CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
-      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
+      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx
     endif
   endif
 endif
@@ -604,7 +604,7 @@ ifneq (,$(findstring mips64-linux-gnuabin32,$(DEB_TARGET_GNU_TYPE)))
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
       CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
-      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
+      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx
     endif
   endif
 endif
@@ -615,7 +615,7 @@ ifneq (,$(findstring mips64el-linux-gnuabi64,$(DEB_TARGET_GNU_TYPE)))
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
-      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
+      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx
     endif
   endif
 endif
@@ -626,7 +626,7 @@ ifneq (,$(findstring mips64-linux-gnuabi64,$(DEB_TARGET_GNU_TYPE)))
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
-      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
+      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx
     endif
   endif
 endif
-- 
2.1.4

