summaryrefslogtreecommitdiff
path: root/toolchain/musl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-09 22:27:16 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-09 22:27:16 +0100
commite7e496c7ecc8c8f550aec8dd7190b2732cc8248d (patch)
treea577d6ada4c88d375765203e83b4a4af23fc865f /toolchain/musl
parent8d47e5dc63b6a77081af0ef9c2cf7d0d1e14526d (diff)
musl on mips is O32 ABI only
Diffstat (limited to 'toolchain/musl')
-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=..." ;;