summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/klibc/files/klibc-1.4.9-mips32.patch')
-rw-r--r--dev-libs/klibc/files/klibc-1.4.9-mips32.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/klibc/files/klibc-1.4.9-mips32.patch b/dev-libs/klibc/files/klibc-1.4.9-mips32.patch
new file mode 100644
index 000000000000..044cb6d32867
--- /dev/null
+++ b/dev-libs/klibc/files/klibc-1.4.9-mips32.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index bb018cc..4a66577 100644
+--- a/Makefile
++++ b/Makefile
+@@ -24,7 +24,7 @@ export OBJDUMP := $(KLIBCROSS)objdump
+
+ NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include)
+
+-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/)
++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 KLIBCARCH ?= $(ARCH)
+ export KLIBCARCHDIR := $(shell echo $(KLIBCARCH) | sed -e s/s390x/s390/)
+