diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-18 13:22:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-22 10:21:07 +0000 |
commit | f587789bd44d4fe0f05c2d2802a1d546896fca70 (patch) | |
tree | ae9ffeb64aebae70744a09d6b99c2e7c905e724c /main/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch | |
parent | 6025d33a147333d0ad8fcfbd2b5d84fee00de11b (diff) | |
download | aports-f587789bd44d4fe0f05c2d2802a1d546896fca70.tar.bz2 aports-f587789bd44d4fe0f05c2d2802a1d546896fca70.tar.xz |
main/clang: upgrade to 3.8.0 and move out from llvm
Diffstat (limited to 'main/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch')
-rw-r--r-- | main/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch b/main/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch new file mode 100644 index 0000000000..4dc9842f00 --- /dev/null +++ b/main/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch @@ -0,0 +1,27 @@ +From b880ea7037ea3232be9ba2e96cc179da92ea4b9c Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Thu, 18 Feb 2016 17:43:51 +0100 +Subject: [PATCH 3/7] Use --hash-style=gnu for Alpine Linux + +--- + lib/Driver/ToolChains.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp +index 46326f0..6b0b31d 100644 +--- a/lib/Driver/ToolChains.cpp ++++ b/lib/Driver/ToolChains.cpp +@@ -3687,8 +3687,8 @@ 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) || +- (IsUbuntu(Distro) && Distro >= UbuntuMaverick)) ++ if (IsRedhat(Distro) || IsOpenSUSE(Distro) || Distro == AlpineLinux || ++ (IsUbuntu(Distro) && Distro >= UbuntuMaverick)) + ExtraOpts.push_back("--hash-style=gnu"); + + if (IsDebian(Distro) || IsOpenSUSE(Distro) || Distro == UbuntuLucid || +-- +2.7.3 + |