Accepting request 729919 from home:Simmphonie

Fixed build for ARM and PPC. CPU with AVX support at least is  only available for x86_64 architecture now.

OBS-URL: https://build.opensuse.org/request/show/729919
OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=60
This commit is contained in:
Torsten Gruner 2019-09-10 14:39:55 +00:00 committed by Git OBS Bridge
parent 2168c9d05f
commit 05c246e5e1
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 10 13:32:21 UTC 2019 - simmphonie@opensuse.org
- Fixed build for ARM and PPC. CPU with AVX support at least is
only available for x86_64 architecture now.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 10 06:57:56 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Tue Sep 10 06:57:56 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -66,7 +66,15 @@ perl -pi -e 's#^(\#define JOHN_SYSTEMWIDE_HOME)\s.+$#$1\t\"%{johndir}\"#g' $RPM_
%build %build
pushd src pushd src
%configure --with-systemwide --disable-openmp --enable-fuzz --enable-experimental-code --enable-pkg-config --disable-native-tests --enable-simd=avx %configure --with-systemwide \
--disable-openmp \
--enable-fuzz \
--enable-experimental-code \
--enable-pkg-config \
%ifarch x86_64
--enable-simd=avx \
%endif
--disable-native-tests
make -s clean make -s clean
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd