From 9dd8259b3a7eb9650ade7edc0d32669ce32fb472 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 18 Oct 2024 10:04:43 +0300 Subject: [PATCH] Backport PR 21474 This should solve compile errors during riscv64 bootstrap. Signed-off-by: David Abdurachmanov --- zig.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zig.spec b/zig.spec index 83bf246..0e6dfc1 100644 --- a/zig.spec +++ b/zig.spec @@ -38,6 +38,9 @@ Patch: 0003-fetch-prevent-global-cache-from-being-copied.patch Patch: 0004-cmake-correct-PIE-support-detection-add-error-output.patch # Remove native libr directories from rpath Patch: 0005-remove-native-lib-directories-from-rpath.patch +# Backport from upstream to fix riscv64 bootstrap +# https://github.com/ziglang/zig/pull/21474 +Patch: b2357a4f9ed42d85e2b7dfaab8802ae2b05af475.patch BuildRequires: gcc BuildRequires: gcc-c++