diff --git a/xmvn-generator.spec b/xmvn-generator.spec index f805f72..4cd3e35 100644 --- a/xmvn-generator.spec +++ b/xmvn-generator.spec @@ -36,7 +36,13 @@ from Lua. %mvn_file : %{name} %build +# Tests fail on arches other than aarch64 and x86_64 due to missing +# FMA support in OpenJDK. +%ifarch aarch64 x86_64 %mvn_build -j +%else +%mvn_build -f -j +%endif %install %mvn_install