1
0

mips64.patch 678 B

123456789101112
  1. diff -Nur uClibc-0.9.30.1.orig/Rules.mak uClibc-0.9.30.1/Rules.mak
  2. --- uClibc-0.9.30.1.orig/Rules.mak 2009-03-02 22:10:04.000000000 +0100
  3. +++ uClibc-0.9.30.1/Rules.mak 2009-05-28 15:08:37.000000000 +0200
  4. @@ -292,7 +292,7 @@
  5. CPU_CFLAGS-$(CONFIG_MIPS_ISA_4)+=-mips4 -mtune=mips4
  6. CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32)+=-mips32 -mtune=mips32
  7. CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32R2)+=-march=mips32r2 -mtune=mips32r2
  8. - CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64)+=-mips64 -mtune=mips32
  9. + CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64)+=-mips64
  10. ifeq ($(strip $(ARCH_BIG_ENDIAN)),y)
  11. CPU_LDFLAGS-$(CONFIG_MIPS_N64_ABI)+=-Wl,-melf64btsmip
  12. CPU_LDFLAGS-$(CONFIG_MIPS_O32_ABI)+=-Wl,-melf32btsmip