From: Alexander Kanavin Date: Thu, 9 Mar 2023 15:19:56 +0000 (+0100) Subject: stress-ng: remove obsolete patch X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1461 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca7578588ad9bb7a9e6678c1f658da62ffb735f8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git stress-ng: remove obsolete patch Upstream has disabled gold support altogether: https://github.com/ColinIanKing/stress-ng/commit/e65f517917fc682784bfa1b3cb53de3f3263b094 Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-extended/stress-ng/stress-ng/0001-Pass-LD_GOLD-1-via-makefile-to-enable-gold-linker.patch b/meta/recipes-extended/stress-ng/stress-ng/0001-Pass-LD_GOLD-1-via-makefile-to-enable-gold-linker.patch deleted file mode 100644 index 6742e0d2563..00000000000 --- a/meta/recipes-extended/stress-ng/stress-ng/0001-Pass-LD_GOLD-1-via-makefile-to-enable-gold-linker.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 5d6fa06b3104637289178a471dd28d7bf3e14e76 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 3 Jan 2023 11:00:09 -0800 -Subject: [PATCH] Pass LD_GOLD=1 via makefile to enable gold linker - -Current logic prefers gold if a toolchain has gold linker installed and -does not offer any option to chose default linker which might not be -gold linker. Its better to pass this control to user instead of auto -detecting and deciding. - -Upstream-Status: Submitted [https://github.com/ColinIanKing/stress-ng/pull/251] -Signed-off-by: Khem Raj - ---- - Makefile | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/Makefile b/Makefile -index 7a969aba..583ae04f 100644 ---- a/Makefile -+++ b/Makefile -@@ -93,6 +93,13 @@ endif - #CFLAGS += -Weverything - #endif - -+# -+# Use gold linker -+# -+ifeq ($(LD_GOLD),1) -+LDFLAGS += -fuse-ld=gold -+endif -+ - GREP = grep - # - # SunOS requires special grep for -e support diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.15.04.bb b/meta/recipes-extended/stress-ng/stress-ng_0.15.04.bb index e891bb738b0..74d8356812d 100644 --- a/meta/recipes-extended/stress-ng/stress-ng_0.15.04.bb +++ b/meta/recipes-extended/stress-ng/stress-ng_0.15.04.bb @@ -6,7 +6,6 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master \ - file://0001-Pass-LD_GOLD-1-via-makefile-to-enable-gold-linker.patch \ " SRCREV = "b9a437ec790ad4bcc71d31b2df39d4a601c55fa8" S = "${WORKDIR}/git"