mips64.patch 1.6 KB

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