From 58542697c14bae5c8d81bb2c1cc60dd015cdc0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Thu, 19 Jan 2017 19:04:09 +0100 Subject: {clang,llvm}_host: adds clang v3.8.1 and llvm v3.8.1 (via Redfoxmoon.) --- ...-0003-Use-hash-style-gnu-for-Alpine-Linux.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 patches/clang_host/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch (limited to 'patches/clang_host/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch') diff --git a/patches/clang_host/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch b/patches/clang_host/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch new file mode 100644 index 00000000..4dc9842f --- /dev/null +++ b/patches/clang_host/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 +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 + -- cgit v1.2.3