From 7442499990b44130ad9de911808161177b214322 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 7 Mar 2018 15:21:48 -0600 Subject: system/clang: yay, a non-GCC compiler --- .../clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 system/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch (limited to 'system/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch') diff --git a/system/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch b/system/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch new file mode 100644 index 000000000..0b6632328 --- /dev/null +++ b/system/clang/clang-0003-Use-hash-style-gnu-for-Alpine-Linux.patch @@ -0,0 +1,16 @@ +From: Natanael Copa +From: Jakub Jirutka +Date: Sun, 16 Apr 2017 16:49:00 +0100 +Subject: [PATCH] Use --hash-style=gnu for Alpine Linux + +--- a/lib/Driver/ToolChains.cpp ++++ b/lib/Driver/ToolChains.cpp +@@ -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 (Distro.IsRedhat() || Distro.IsOpenSUSE() || ++ if (Distro.IsRedhat() || Distro.IsOpenSUSE() || Distro.IsAlpineLinux() || + (Distro.IsUbuntu() && Distro >= Distro::UbuntuMaverick)) + ExtraOpts.push_back("--hash-style=gnu"); + -- cgit v1.2.3-60-g2f50