From aac8d3d96b1ac51c5c14e3384ec7b2267b723d894c57b75a61f94a2b07a08ad6 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 12 Oct 2024 04:10:51 +0000 Subject: [PATCH] - Disable LTO. This seems to cause clang to recognize formats incorrectly, thus, not recognizing the symbols. This also results disabling LTO builds in rustc altogether removing the specified architecture requirement for patch ./deno-disable-lto.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=209 --- deno.changes | 8 ++++++++ deno.spec | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/deno.changes b/deno.changes index 732c412..71ee891 100644 --- a/deno.changes +++ b/deno.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Oct 12 04:07:25 UTC 2024 - Soc Virnyl Estela + +- Disable LTO. This seems to cause clang to recognize formats incorrectly, + thus, not recognizing the symbols. This also results disabling LTO + builds in rustc altogether removing the specified architecture + requirement for patch ./deno-disable-lto.patch + ------------------------------------------------------------------- Fri Oct 11 15:38:38 UTC 2024 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index 47e3934..6482a8e 100644 --- a/deno.spec +++ b/deno.spec @@ -18,6 +18,7 @@ # +%global _lto_cflags %nil Name: deno Version: 2.0.0 Release: 0 @@ -50,9 +51,7 @@ BuildRequires: pkgconfig(protobuf) # deno does not build on 32-bit archs ExclusiveArch: x86_64 aarch64 ppc64 ppc64le s390x # PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory) -%ifarch %{arm} aarch64 Patch10: deno-disable-lto.patch -%endif %package fish-completion Summary: Fish Completion for %{name}