From ddd8e1a8fab2ac39396282a7c09ddf6eca219613 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Wed, 12 Mar 2025 04:01:18 +0100 Subject: clang repos updated --- repos/extra/firefox/fix-target-detection.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 repos/extra/firefox/fix-target-detection.patch (limited to 'repos/extra/firefox/fix-target-detection.patch') diff --git a/repos/extra/firefox/fix-target-detection.patch b/repos/extra/firefox/fix-target-detection.patch deleted file mode 100755 index 8e115a3d..00000000 --- a/repos/extra/firefox/fix-target-detection.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure -index 7a2fd1a..ba5ba62 100644 ---- a/build/moz.configure/rust.configure -+++ b/build/moz.configure/rust.configure -@@ -403,9 +403,13 @@ def detect_rustc_target( - ] - if len(narrowed) == 1: - return narrowed[0].rust_target -+ elif narrowed: -+ candidates = narrowed -+ -+ aliased_vendor = "unknown" if host_or_target.vendor == "pc" else host_or_target.vendor - - # Finally, see if the vendor can be used to disambiguate. -- narrowed = [c for c in candidates if c.target.vendor == host_or_target.vendor] -+ narrowed = [c for c in candidates if c.target.vendor == aliased_vendor] - if len(narrowed) == 1: - return narrowed[0].rust_target - -- cgit v1.2.3