aboutsummaryrefslogtreecommitdiffstats
path: root/community/dotnet6-build/runtime_lld-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/dotnet6-build/runtime_lld-fix.patch')
-rw-r--r--community/dotnet6-build/runtime_lld-fix.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/community/dotnet6-build/runtime_lld-fix.patch b/community/dotnet6-build/runtime_lld-fix.patch
deleted file mode 100644
index 6999b5c620b..00000000000
--- a/community/dotnet6-build/runtime_lld-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 91988b0241a77f1f6524c19e2ce55dda06de7242 Mon Sep 17 00:00:00 2001
-Patch-Source: https://src.fedoraproject.org/rpms/dotnet6.0/blob/rawhide/f/runtime-arm64-lld-fix.patch
-From: Omair Majid <omajid@redhat.com>
-Date: Wed, 16 Feb 2022 18:08:22 +0000
-Subject: [PATCH 1/1] arm64 lld fix
-
----
- eng/native/init-compiler.sh | 7 ++-----
- 1 file changed, 2 insertions(+), 5 deletions(-)
-
-diff --git a/eng/native/init-compiler.sh b/eng/native/init-compiler.sh
-index 567d18da474..05245c7b9f8 100755
---- a/eng/native/init-compiler.sh
-+++ b/eng/native/init-compiler.sh
-@@ -108,11 +108,8 @@ if [[ -z "$CC" ]]; then
- fi
-
- if [[ "$compiler" == "clang" ]]; then
-- if command -v "lld$desired_version" > /dev/null; then
-- # Only lld version >= 9 can be considered stable
-- if [[ "$majorVersion" -ge 9 ]]; then
-- LDFLAGS="-fuse-ld=lld"
-- fi
-+ if "$CC" -fuse-ld=lld -Wl,--version >/dev/null 2>&1; then
-+ LDFLAGS="-fuse-ld=lld"
- fi
- fi
-
---
-2.34.1
-