Root/toolchain/glibc-ports/patches/2.6.1/401-mips_bootstrap_gcc_header_install.patch

1diff -ruN glibc-ports-2.7-orig/sysdeps/mips/mips32/Makefile glibc-ports-2.7/sysdeps/mips/mips32/Makefile
2--- glibc-ports-2.7-orig/ports/sysdeps/mips/mips32/Makefile 2003-03-29 09:15:28.000000000 +0100
3+++ glibc-ports-2.7/sysdeps/mips/mips32/Makefile 2008-10-01 17:04:40.475005748 +0200
4@@ -1,3 +1,7 @@
5+ifeq ($(filter -DBOOTSTRAP_GCC,$(CFLAGS)),)
6 ifeq ($(filter -mabi=32,$(CC)),)
7 CC += -mabi=32
8 endif
9+else
10+CC += -D"_MIPS_SZPTR=32"
11+endif
12

Archive Download this file



interactive