diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-03-09 16:19:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-11 00:08:38 +0000 |
commit | ca7578588ad9bb7a9e6678c1f658da62ffb735f8 (patch) | |
tree | 48e1292d91a075aeed4c906421b941cd8e364c1e | |
parent | 67734f7574877ca6e0ec06596ff1a48303df0764 (diff) | |
download | openembedded-core-contrib-ca7578588ad9bb7a9e6678c1f658da62ffb735f8.tar.gz |
stress-ng: remove obsolete patch
Upstream has disabled gold support altogether:
https://github.com/ColinIanKing/stress-ng/commit/e65f517917fc682784bfa1b3cb53de3f3263b094
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng/0001-Pass-LD_GOLD-1-via-makefile-to-enable-gold-linker.patch | 35 | ||||
-rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng_0.15.04.bb | 1 |
2 files changed, 0 insertions, 36 deletions
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 6742e0d256..0000000000 --- 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 <raj.khem@gmail.com> -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 <raj.khem@gmail.com> - ---- - 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 e891bb738b..74d8356812 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" |