diff mbox series

[blacksail,14/19] perlcross: drop redundant LDFLAGS-when-linking-libperl patch

Message ID 867ce4fc90468bd00990688f130ff640cdada79c.1791299195.git.yoann.congal@smile.fr
State New
Headers show
Series [blacksail,01/19] alsa-lib: patch CVE-2026-90781 | expand

Commit Message

Yoann Congal Oct. 6, 2026, 3:46 p.m. UTC
From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>

- Upstream PR #122 was reverted and replaced by appending ldflags to
  lddlflags at configure time.
  perl recipe already passes -Alddlflags=' ${LDFLAGS}',

- Verified LDFLAGS still reach the libperl.so link (perl do_compile log,
  qemux86-64) after removing the patch.

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 65595d5ac1a005e3fa7d1167c5da8fbc39e080c0)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 ...oss-add-LDFLAGS-when-linking-libperl.patch | 24 -------------------
 .../perl-cross/perlcross_1.6.5.bb             |  1 -
 2 files changed, 25 deletions(-)
 delete mode 100644 meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
diff mbox series

Patch

diff --git a/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
deleted file mode 100644
index dbddd9bc616..00000000000
--- a/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
+++ /dev/null
@@ -1,24 +0,0 @@ 
-From 10140792a3d9100ca38ddda5f47c0faeb26af1d4 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 27 Nov 2018 15:37:40 +0100
-Subject: [PATCH] perl-cross: add LDFLAGS when linking libperl
-
-Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/122]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 4b80079..c6d6042 100644
---- a/Makefile
-+++ b/Makefile
-@@ -191,7 +191,7 @@ endif
- 
- ifeq ($(useshrplib),true)
- $(LIBPERL):
--	$(CC) $(LDDLFLAGS) -o $@ $(filter %$o,$^) $(LIBS)
-+	$(CC) $(LDFLAGS) $(LDDLFLAGS) -o $@ $(filter %$o,$^) $(LIBS)
- else
- $(LIBPERL):
- 	$(AR) cru $@ $(filter %$o,$^)
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.6.5.bb b/meta/recipes-devtools/perl-cross/perlcross_1.6.5.bb
index 77ca5b0e302..64cbeb4078b 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.6.5.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.6.5.bb
@@ -12,7 +12,6 @@  inherit allarch github-releases
 
 SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \
            file://README.md \
-           file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
            file://determinism.patch \
            file://0001-Makefile-check-the-file-if-patched-or-not.patch \
            "