diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-build_config_rust_gni')
| -rw-r--r-- | www/chromium-uc/patches/patch-build_config_rust_gni | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-build_config_rust_gni b/www/chromium-uc/patches/patch-build_config_rust_gni new file mode 100644 index 0000000..3b28980 --- /dev/null +++ b/www/chromium-uc/patches/patch-build_config_rust_gni | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | $OpenBSD: patch-build_config_rust_gni,v 1.2 2021/11/16 11:28:45 robert Exp $ | ||
| 2 | |||
| 3 | Index: build/config/rust.gni | ||
| 4 | --- build/config/rust.gni.orig | ||
| 5 | +++ build/config/rust.gni | ||
| 6 | @@ -72,7 +72,7 @@ if (use_unverified_rust_toolchain) { | ||
| 7 | assert(rust_bin_dir != "") | ||
| 8 | rust_prefix = "$rust_bin_dir/" | ||
| 9 | } else if (toolchain_has_official_rust) { | ||
| 10 | - if (host_os != "linux") { | ||
| 11 | + if (host_os != "linux" && host_os != "openbsd") { | ||
| 12 | assert(false, | ||
| 13 | "Attempt to use standard Rust toolchain on an unsupported platform") | ||
| 14 | } | ||
