Martin Pluskal 2023-08-22 11:25:18 +00:00 committed by Git OBS Bridge
parent 9d52102d34
commit c33da257c7

View File

@ -33,7 +33,15 @@ Swiss army knife for backup and disaster recovery, like 7z or RAR on steroids,wi
%autosetup
%build
g++ %{optflags} zpaqfranz.cpp -o zpaqfranz
g++ %{optflags} \
%ifarch %ix86
-Dunix -DHWSHA2 \
% ifarch s390x \
-Dunix -DNOJIT -DBIG \
%else
-Dunix -DNOJIT \
%endif
zpaqfranz.cpp -o zpaqfranz -pthread -lstdc++ -lm
%install
install -Dpm 0755 zpaqfranz \