mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
stress-ng: remove obsolete patch
Upstream has disabled gold support altogether: https://github.com/ColinIanKing/stress-ng/commit/e65f517917fc682784bfa1b3cb53de3f3263b094 (From OE-Core rev: ca7578588ad9bb7a9e6678c1f658da62ffb735f8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9dd103dde5
commit
658a8931e2
-35
@@ -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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user