[packages/rpm-pld-macros] add possibility to customize linker with %use_ld

atler atler at pld-linux.org
Tue Mar 8 00:00:12 CET 2022


commit 8a02d741638f59bb5503021cbeb54d9e26574236
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Mar 7 23:53:02 2022 +0100

    add possibility to customize linker with %use_ld

 macros.pld | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/macros.pld b/macros.pld
index 963db1d..377d6d5 100644
--- a/macros.pld
+++ b/macros.pld
@@ -193,7 +193,7 @@ pakietu oraz przy odpluskwianiu samego pakietu.\
 %debugcppflags	%{nil}
 %debugldflags	%{nil}
 
-%optldflags	-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc
+%optldflags	-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc %{?use_ld:-Wl,-fuse-ld=%{use_ld}}
 %optcppflags	%{nil}
 
 # common compilation flags
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/8a02d741638f59bb5503021cbeb54d9e26574236



More information about the pld-cvs-commit mailing list