- add patch: 0001-Disable-pidfs-tests-for-15SP3.patch

- bsc#1232667 - SLFO:Main requires changes for gcc version detection

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.82?expand=0&rev=6
This commit is contained in:
2024-12-12 01:16:53 +00:00
committed by Git OBS Bridge
commit 2d6eb00682
34 changed files with 1477 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
Index: rustc-1.51.0-src/compiler/rustc_llvm/build.rs
===================================================================
--- rustc-1.51.0-src.orig/compiler/rustc_llvm/build.rs
+++ rustc-1.51.0-src/compiler/rustc_llvm/build.rs
@@ -154,6 +154,12 @@ fn main() {
continue;
}
+ // hack to avoid flag on openSUSE which is incompatible with GCC
+ if flag.starts_with("-W") && flag.contains("string-conversion") {
+ continue;
+ }
+
+
cfg.flag(flag);
}