mirror of
https://abf.rosa.ru/djam/zstd.git
synced 2025-02-23 09:22:54 +00:00
fix riscv build
This commit is contained in:
parent
167278795a
commit
157420e33f
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ sed -i -e 's,c99,gnu2a,g' build/cmake/CMakeModules/AddZstdCompilationFlags.cmake
|
|||
|
||||
%build
|
||||
%set_build_flags
|
||||
%ifarch %{riscv}
|
||||
export LDFLAGS="%{ldflags} -latomic"
|
||||
%endif
|
||||
|
||||
pushd build/cmake
|
||||
%cmake -DZSTD_BUILD_CONTRIB:BOOL=ON \
|
||||
-DZSTD_LEGACY_SUPPORT:BOOL=ON \
|
||||
|
|
Loading…
Add table
Reference in a new issue