summaryrefslogtreecommitdiff
path: root/toolchain/musl/patches/mips64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/musl/patches/mips64.patch')
-rw-r--r--toolchain/musl/patches/mips64.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/musl/patches/mips64.patch b/toolchain/musl/patches/mips64.patch
new file mode 100644
index 000000000..fdeb5017b
--- /dev/null
+++ b/toolchain/musl/patches/mips64.patch
@@ -0,0 +1,12 @@
+diff -Nur musl-0.9.14.orig/configure musl-0.9.14/configure
+--- musl-0.9.14.orig/configure 2013-09-23 23:01:11.000000000 +0200
++++ musl-0.9.14/configure 2013-11-09 20:16:14.000000000 +0100
+@@ -225,7 +225,7 @@
+ arm*) ARCH=arm ;;
+ i?86*) ARCH=i386 ;;
+ x86_64*) ARCH=x86_64 ;;
+-mips-*|mipsel-*) ARCH=mips ;;
++mips-*|mipsel-*|mips64-*|mips64el-*) ARCH=mips ;;
+ microblaze-*) ARCH=microblaze ;;
+ powerpc-*) ARCH=powerpc ;;
+ unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;