[packages/firefox] add rust_simd bcond (disabled by default)

atler atler at pld-linux.org
Tue Jul 13 21:19:24 CEST 2021


commit 65479bc71fc2a910f870f7f56e43d35e16c1e70a
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jul 13 21:18:22 2021 +0200

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/65479bc71fc2a910f870f7f56e43d35e16c1e70a



More information about the pld-cvs-commit mailing list