]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
stress-ng: remove obsolete patch
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 9 Mar 2023 15:19:56 +0000 (16:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Mar 2023 00:08:38 +0000 (00:08 +0000)
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>
meta/recipes-extended/stress-ng/stress-ng/0001-Pass-LD_GOLD-1-via-makefile-to-enable-gold-linker.patch [deleted file]
meta/recipes-extended/stress-ng/stress-ng_0.15.04.bb

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 (file)
index 6742e0d..0000000
+++ /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
index e891bb738b0609844bd465b17717b0cb48234592..74d8356812d5d98487975f468847a67246b26525 100644 (file)
@@ -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"