Commit b46fcfe 1 parent 62ae61c commit b46fcfe Copy full SHA for b46fcfe
File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # Conditional build:
3
+ %bcond_without asm # disable assembler
4
+
5
+ # workaround executable stack on non-x86_64
6
+ # https://github.com/facebook/zstd/issues/2963
7
+ %ifnarch %{x8664 }
8
+ %undefine with_asm
9
+ %endif
10
+
1
11
Summary: Zstandard - fast lossless compression algorithm
2
12
Summary(pl.UTF-8): Zstandard - szybki, bezstratny algorytm kompresji
3
13
Name: zstd
4
14
Version: 1.5.1
5
- Release: 1
15
+ Release: 2
6
16
License: BSD
7
17
Group: Libraries
8
18
#Source0Download: https://github.com/facebook/zstd/releases
@@ -63,7 +73,8 @@ CFLAGS="%{rpmcflags} %{rpmcppflags} %{?archcflags}" \
63
73
CXXFLAGS=" %{rpmcxxflags} %{rpmcppflags}" \
64
74
LDFLAGS=" %{rpmldflags}" \
65
75
%{__make} allmost manual \
66
- V=1
76
+ V=1 \
77
+ %{! ? with_asm:ZSTD_NO_ASM= 1}
67
78
68
79
%install
69
80
rm -rf $RPM_BUILD_ROOT
You can’t perform that action at this time.
0 commit comments