summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches/mips64.patch
blob: 0b53244b976addb1e4882b4306bc60f8ad2e3d6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -Nur glibc-2.10-current.orig/ports/sysdeps/mips/mips64/n32/Makefile glibc-2.10-current/ports/sysdeps/mips/mips64/n32/Makefile
--- glibc-2.10-current.orig/ports/sysdeps/mips/mips64/n32/Makefile	2009-05-26 22:53:27.000000000 +0200
+++ glibc-2.10-current/ports/sysdeps/mips/mips64/n32/Makefile	2009-05-27 02:23:06.000000000 +0200
@@ -1,6 +1,2 @@
 # `long double' is a distinct type we support.
 long-double-fcts = yes
-
-ifeq ($(filter -mabi=n32,$(CC)),)
-CC += -mabi=n32
-endif
diff -Nur glibc-2.10-current.orig/ports/sysdeps/mips/mips64/n64/Makefile glibc-2.10-current/ports/sysdeps/mips/mips64/n64/Makefile
--- glibc-2.10-current.orig/ports/sysdeps/mips/mips64/n64/Makefile	2009-05-26 22:53:27.000000000 +0200
+++ glibc-2.10-current/ports/sysdeps/mips/mips64/n64/Makefile	2009-05-27 02:20:00.000000000 +0200
@@ -1,6 +1,2 @@
 # `long double' is a distinct type we support.
 long-double-fcts = yes
-
-ifeq ($(filter -mabi=64,$(CC)),)
-CC += -mabi=64
-endif
diff -Nur glibc-2.10-current.orig/ports/sysdeps/mips/preconfigure glibc-2.10-current/ports/sysdeps/mips/preconfigure
--- glibc-2.10-current.orig/ports/sysdeps/mips/preconfigure	2009-05-26 22:53:27.000000000 +0200
+++ glibc-2.10-current/ports/sysdeps/mips/preconfigure	2009-05-27 02:20:14.000000000 +0200
@@ -22,7 +22,7 @@
 		if test $mips_config_abi != $mips_cc_abi; then
 		  # This won't make it to config.make, but we want to
 		  # set this in case configure tests depend on it.
-		  CPPFLAGS="$CPPFLAGS -mabi=$mips_config_abi"
+		  CPPFLAGS="$CPPFLAGS"
 		fi
 		;;
 mips*)		base_machine=mips machine=mips/mips32/$machine ;;