midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/clang_host/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 585426
From b880ea7037ea3232be9ba2e96cc179da92ea4b9c Mon Sep 17 00:00:00 2001
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
From: Natanael Copa <ncopa@alpinelinux.org>
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
Date: Thu, 18 Feb 2016 17:43:51 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
Subject: [PATCH 3/7] Use --hash-style=gnu for Alpine Linux
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
---
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
 lib/Driver/ToolChains.cpp | 4 ++--
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
 1 file changed, 2 insertions(+), 2 deletions(-)
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
index 46326f0..6b0b31d 100644
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
--- a/lib/Driver/ToolChains.cpp
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
+++ b/lib/Driver/ToolChains.cpp
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
@@ -3687,8 +3687,8 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
   // ABI requires a mapping between the GOT and the symbol table.
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
   // Android loader does not support .gnu.hash.
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
   if (!IsMips && !IsAndroid) {
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
-    if (IsRedhat(Distro) || IsOpenSUSE(Distro) ||
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
-        (IsUbuntu(Distro) && Distro >= UbuntuMaverick))
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
+    if (IsRedhat(Distro) || IsOpenSUSE(Distro) || Distro == AlpineLinux ||
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
+       (IsUbuntu(Distro) && Distro >= UbuntuMaverick))
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
       ExtraOpts.push_back("--hash-style=gnu");
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
 
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
     if (IsDebian(Distro) || IsOpenSUSE(Distro) || Distro == UbuntuLucid ||
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
-- 
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
2.7.3
Lucio Andrés Illanes Albornoz (arab, vxp) 585426