Backport PR 21474

This should solve compile errors during riscv64 bootstrap.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-10-18 10:04:43 +03:00
parent 330d97b3a1
commit 9dd8259b3a
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3

View File

@ -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 Patch: 0004-cmake-correct-PIE-support-detection-add-error-output.patch
# Remove native libr directories from rpath # Remove native libr directories from rpath
Patch: 0005-remove-native-lib-directories-from-rpath.patch 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
BuildRequires: gcc-c++ BuildRequires: gcc-c++