summaryrefslogtreecommitdiff
path: root/user/clang/pmmx-musl.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-02 00:04:22 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-02 00:04:22 +0000
commit926ad4bd48fef3738c760fe9444ceda25b11d67f (patch)
treedb62b8fb274d2ef9d2373a9af1625f65fc42b9d3 /user/clang/pmmx-musl.patch
parentfc8a8c07a6a2d4497783d92264a2cf2036161867 (diff)
downloadpackages-926ad4bd48fef3738c760fe9444ceda25b11d67f.tar.gz
packages-926ad4bd48fef3738c760fe9444ceda25b11d67f.tar.bz2
packages-926ad4bd48fef3738c760fe9444ceda25b11d67f.tar.xz
packages-926ad4bd48fef3738c760fe9444ceda25b11d67f.zip
user/clang: fix ppc64 ABI and ldbl size; fix pmmx DT_INTERP
Diffstat (limited to 'user/clang/pmmx-musl.patch')
-rw-r--r--user/clang/pmmx-musl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/clang/pmmx-musl.patch b/user/clang/pmmx-musl.patch
new file mode 100644
index 000000000..7286c0ab8
--- /dev/null
+++ b/user/clang/pmmx-musl.patch
@@ -0,0 +1,12 @@
+--- cfe-8.0.0.src/lib/Driver/ToolChains/Linux.cpp.old 2018-11-29 18:52:22.000000000 +0000
++++ cfe-8.0.0.src/lib/Driver/ToolChains/Linux.cpp 2019-06-01 23:22:27.015221397 +0000
+@@ -528,6 +528,9 @@
+ ArchName = "armeb";
+ IsArm = true;
+ break;
++ case llvm::Triple::x86:
++ ArchName = "i386";
++ break;
+ default:
+ ArchName = Triple.getArchName().str();
+ }