summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/klibc/files/klibc-1.1.16-mips32.patch')
-rw-r--r--dev-libs/klibc/files/klibc-1.1.16-mips32.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/klibc/files/klibc-1.1.16-mips32.patch b/dev-libs/klibc/files/klibc-1.1.16-mips32.patch
new file mode 100644
index 000000000000..1e3ac5596637
--- /dev/null
+++ b/dev-libs/klibc/files/klibc-1.1.16-mips32.patch
@@ -0,0 +1,12 @@
+diff -Naurp klibc-1.1.16.orig/Makefile klibc-1.1.16/Makefile
+--- klibc-1.1.16.orig/Makefile 2006-01-06 01:11:43 -0500
++++ klibc-1.1.16/Makefile 2006-01-26 04:24:02 -0500
+@@ -14,7 +14,7 @@ include scripts/Kbuild.include
+ export CC := gcc
+ NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include)
+
+-export ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
++export ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/mips64/mips/)
+
+ export HOSTCC := gcc
+ export HOSTCFLAGS := -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer