From 65479bc71fc2a910f870f7f56e43d35e16c1e70a Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Tue, 13 Jul 2021 21:18:22 +0200 Subject: [PATCH] add rust_simd bcond (disabled by default) --- firefox.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firefox.spec b/firefox.spec index 7b95a31..10a5b62 100644 --- a/firefox.spec +++ b/firefox.spec @@ -17,6 +17,7 @@ %bcond_without system_libvpx # build with system libvpx %bcond_without clang # build using Clang/LLVM %bcond_with lowmem # lower memory requirements +%bcond_with rust_simd # enable SIMD in Rust code %if %{with lto} %define with_clang 1 @@ -2163,6 +2164,7 @@ ac_add_options --enable-gpsd ac_add_options --enable-lto=cross %endif %{?with_clang:ac_add_options --enable-linker=lld} +%{?with_rust_simd:ac_add_options --enable-rust-simd} %{?with_shared_js:ac_add_options --enable-shared-js} %{?with_system_cairo:ac_add_options --enable-system-cairo} ac_add_options --enable-system-ffi -- 2.43.0