12501e151e
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.82?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);
|
|
}
|
|
|