From c1f9bec1db866b6ca644f1fe143868e126703b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= Date: Fri, 21 Jan 2022 11:46:51 +0100 Subject: [PATCH] Switch off ld.gold --- samba.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index b7a0cc7..2851bcc 100644 --- a/samba.spec +++ b/samba.spec @@ -1106,7 +1106,8 @@ xzcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} - export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')" # Use the gold linker -export LDFLAGS="%{__global_ldflags} -fuse-ld=gold" +# See https://bugzilla.redhat.com/show_bug.cgi?id=2043178 ; For f36 do not use ld.gold till it is fixed +#export LDFLAGS="%%{__global_ldflags} -fuse-ld=gold" %configure \ --enable-fhs \