]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
add possibility to customize linker with %use_ld
authorJan Palus <atler@pld-linux.org>
Mon, 7 Mar 2022 22:53:02 +0000 (23:53 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 7 Mar 2022 22:53:02 +0000 (23:53 +0100)
macros.pld

index 963db1d7dc2ef07cee9ca2e2f9fac36cf9410745..377d6d504eead2a1936d1706d09a0498da1fb491 100644 (file)
@@ -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
This page took 0.473986 seconds and 4 git commands to generate.