diff --git a/john.changes b/john.changes index add642c..ca57b2c 100644 --- a/john.changes +++ b/john.changes @@ -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 diff --git a/john.spec b/john.spec index d933e62..66475fd 100644 --- a/john.spec +++ b/john.spec @@ -66,7 +66,15 @@ perl -pi -e 's#^(\#define JOHN_SYSTEMWIDE_HOME)\s.+$#$1\t\"%{johndir}\"#g' $RPM_ %build 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 %{?_smp_mflags} popd