diff --git a/mkfit.spec b/mkfit.spec index fdc5a913e96..a704cfd5558 100644 --- a/mkfit.spec +++ b/mkfit.spec @@ -23,9 +23,13 @@ Patch1: mkfit-ppc-fix %ifarch x86_64 make TBB_PREFIX=$TBB_ROOT VEC_GCC="-march=core2" -%else +%endif +%ifarch aarch64 make TBB_PREFIX=$TBB_ROOT VEC_GCC="-march=native" %endif +%ifarch ppc64le +make TBB_PREFIX=$TBB_ROOT VEC_GCC="-mcpu=native" +%endif %install mkdir %{i}/include %{i}/include/mkFit %{i}/Geoms