Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
0bec774217
commit
0e7d87da05
@ -1,10 +1,18 @@
|
||||
%global major 115
|
||||
|
||||
# LTO - Enable in Release builds, but consider disabling for development as it increases compile time
|
||||
%ifnarch riscv64
|
||||
%global build_with_lto 1
|
||||
%else
|
||||
%global build_with_lto 0
|
||||
%endif
|
||||
|
||||
# Require tests to pass?
|
||||
%ifnarch riscv64
|
||||
%global require_tests 1
|
||||
%else
|
||||
%global require_tests 0
|
||||
%endif
|
||||
|
||||
%if 0%{?build_with_lto}
|
||||
# LTO is the default
|
||||
@ -19,7 +27,7 @@
|
||||
|
||||
Name: mozjs%{major}
|
||||
Version: 115.4.0
|
||||
Release: %autorelease
|
||||
Release: %autorelease -e 0.riscv64
|
||||
Summary: SpiderMonkey JavaScript library
|
||||
|
||||
License: MPL-2.0 AND Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT AND GPL-3.0-or-later
|
||||
|
Loading…
Reference in New Issue
Block a user