After https://cgit.freebsd.org/src/commit/?id=be39466a1035, there is no need anymore to patch the perl5 Makefiles to add "-Wl,--allow-multiple-definition" to the linker flags. They should now link with lld 15 and later without any issues. PR: 265516 Fixes: 8c69fc20e6c7 MFH: 2022Q4
13 lines
325 B
Bash
13 lines
325 B
Bash
Allow customisation of shrpldflags.
|
|
|
|
--- Makefile.SH.orig 2022-06-19 19:29:35 UTC
|
|
+++ Makefile.SH
|
|
@@ -40,7 +40,6 @@ linklibperl_nonshr=''
|
|
pwd="`pwd`"
|
|
linklibperl='$(LIBPERL)'
|
|
linklibperl_nonshr=''
|
|
-shrpldflags='$(LDDLFLAGS)'
|
|
ldlibpth=''
|
|
DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB'
|
|
DPERL_IS_MINIPERL='-DPERL_IS_MINIPERL'
|