aboutsummaryrefslogtreecommitdiffstats
path: root/main/llvm/clang-0005-alpine-hash-style-gnu.patch
diff options
context:
space:
mode:
authorTravis Tilley <ttilley@gmail.com>2015-05-21 12:41:30 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-22 13:09:01 +0000
commit81d1b43c5af39e14cb91232c4afcb7839b96f5a1 (patch)
tree01d279a6a2c6859074d4b3045f851c2e36de13db /main/llvm/clang-0005-alpine-hash-style-gnu.patch
parent386a214b3a1b7586e4d37b94ae84d6830e159f52 (diff)
downloadaports-81d1b43c5af39e14cb91232c4afcb7839b96f5a1.tar.bz2
aports-81d1b43c5af39e14cb91232c4afcb7839b96f5a1.tar.xz
main/llvm: update patchset, switch to cmake, perform two-stage build with a minimal bootstrap compile of clang, add clang extras, update package list to split out clang documentation
Diffstat (limited to 'main/llvm/clang-0005-alpine-hash-style-gnu.patch')
-rw-r--r--main/llvm/clang-0005-alpine-hash-style-gnu.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/llvm/clang-0005-alpine-hash-style-gnu.patch b/main/llvm/clang-0005-alpine-hash-style-gnu.patch
new file mode 100644
index 0000000000..36e8506a05
--- /dev/null
+++ b/main/llvm/clang-0005-alpine-hash-style-gnu.patch
@@ -0,0 +1,25 @@
+From 60d9da20f29f8121ee6b383c49249d04141efc4b Mon Sep 17 00:00:00 2001
+From: Travis Tilley <ttilley@gmail.com>
+Date: Tue, 28 Apr 2015 20:26:27 -0400
+Subject: [PATCH 5/8] alpine-hash-style-gnu.patch
+
+---
+ lib/Driver/ToolChains.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
+index 006915c..6007a98 100644
+--- a/lib/Driver/ToolChains.cpp
++++ b/lib/Driver/ToolChains.cpp
+@@ -2959,7 +2959,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
+ // ABI requires a mapping between the GOT and the symbol table.
+ // Android loader does not support .gnu.hash.
+ if (!IsMips && !IsAndroid) {
+- if (IsRedhat(Distro) || IsOpenSUSE(Distro) ||
++ if (IsRedhat(Distro) || IsOpenSUSE(Distro) || Distro == AlpineLinux ||
+ (IsUbuntu(Distro) && Distro >= UbuntuMaverick))
+ ExtraOpts.push_back("--hash-style=gnu");
+
+--
+2.1.4
+