0131a13ce7
Submit new package rust1.71 OBS-URL: https://build.opensuse.org/request/show/1099159 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.71?expand=0&rev=1
18 lines
516 B
Diff
18 lines
516 B
Diff
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);
|
|
}
|
|
|