diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2022-12-12 14:30:34 +0100 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2022-12-12 14:34:48 +0100 |
commit | 33b05a16fc0346ecdf0206438bd9efe995339bee (patch) | |
tree | 3f7d703a0e4ff6a604e0adb145aa94974a008dad /lang/perl5-devel/files | |
parent | textproc/py-ttp-templates: Update to 0.3.2 (diff) |
lang/perl5*: remove workarounds for lld 15 and dtrace enabled
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
Diffstat (limited to 'lang/perl5-devel/files')
-rw-r--r-- | lang/perl5-devel/files/patch-Makefile.SH | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lang/perl5-devel/files/patch-Makefile.SH b/lang/perl5-devel/files/patch-Makefile.SH index b2a2691d922c..f5dfc3bd2a60 100644 --- a/lang/perl5-devel/files/patch-Makefile.SH +++ b/lang/perl5-devel/files/patch-Makefile.SH @@ -10,21 +10,3 @@ Allow customisation of shrpldflags. ldlibpth='' DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB' DPERL_IS_MINIPERL='-DPERL_IS_MINIPERL' -@@ -924,7 +923,7 @@ $(LIBPERL): $& $(perllib_dep) $(DYNALOADER) $(LIBPERLE - true) - $spitshell >>$Makefile <<'!NO!SUBS!' - rm -f $@ -- $(LD) -o $@ $(SHRPLDFLAGS) $(perllib_objs) $(DYNALOADER) $(libs) -+ $(LD) -o $@ $(SHRPLDFLAGS) -Wl,--allow-multiple-definition $(perllib_objs) $(DYNALOADER) $(libs) - !NO!SUBS! - case "$osname" in - aix) -@@ -1015,7 +1014,7 @@ lib/buildcustomize.pl: $& $(miniperl_dep) write_buildc - $spitshell >>$Makefile <<'!NO!SUBS!' - lib/buildcustomize.pl: $& $(miniperl_dep) write_buildcustomize.pl - -@rm -f miniperl.xok -- $(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \ -+ $(CC) $(CLDFLAGS) -Wl,--allow-multiple-definition -o $(MINIPERL_EXE) \ - $(miniperl_objs) $(libs) - $(LDLIBPTH) ./miniperl$(HOST_EXE_EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1' - $(MINIPERL) -f write_buildcustomize.pl |