diff options
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 | 25 |
1 files changed, 7 insertions, 18 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 index 4dc9842f00..0b66323288 100644 --- 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 @@ -1,27 +1,16 @@ -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 +From: Jakub Jirutka <jakub@jirutka.cz> +Date: Sun, 16 Apr 2017 16:49:00 +0100 +Subject: [PATCH] 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) +@@ -4132,7 +4132,7 @@ // 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)) +- if (Distro.IsRedhat() || Distro.IsOpenSUSE() || ++ if (Distro.IsRedhat() || Distro.IsOpenSUSE() || Distro.IsAlpineLinux() || + (Distro.IsUbuntu() && Distro >= Distro::UbuntuMaverick)) ExtraOpts.push_back("--hash-style=gnu"); - if (IsDebian(Distro) || IsOpenSUSE(Distro) || Distro == UbuntuLucid || --- -2.7.3 - |