mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
17 lines
659 B
Diff
17 lines
659 B
Diff
From: Natanael Copa <ncopa@alpinelinux.org>
|
|
From: Jakub Jirutka <jakub@jirutka.cz>
|
|
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");
|
|
|