forked from pool/rust1.69
Submit new package rust 1.69 OBS-URL: https://build.opensuse.org/request/show/1081068 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.69?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);
|
|
}
|
|
|