1From 31915e55f9c34f6137ab1c5ac002375a2d5d4589 Mon Sep 17 00:00:00 2001
2From: Frederik Schwan <frederik.schwan@linux.com>
3Date: Fri, 4 Aug 2023 15:19:57 +0200
4Subject: [PATCH] force --hash-style=both to keep compatibility with old niche
5 software
6
7---
8 Makeconfig | 4 ++++
9 1 file changed, 4 insertions(+)
10
11diff --git a/Makeconfig b/Makeconfig
12index 77d7fd14df..2ae67c4beb 100644
13--- a/Makeconfig
14+++ b/Makeconfig
15@@ -378,6 +378,10 @@ relro-LDFLAGS = -Wl,-z,relro
16 LDFLAGS.so += $(relro-LDFLAGS)
17 LDFLAGS-rtld += $(relro-LDFLAGS)
18
19+hashstyle-LDFLAGS = -Wl,--hash-style=both
20+LDFLAGS.so += $(hashstyle-LDFLAGS)
21+LDFLAGS-rtld += $(hashstyle-LDFLAGS)
22+
23 # Linker options to enable and disable DT_RELR.
24 ifeq ($(have-dt-relr),yes)
25 dt-relr-ldflag = -Wl,-z,pack-relative-relocs
26--
272.41.0
28