From 8b5e3241afdd8968ce90a401684a8a2058f92f9c Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Feb 28 2017 13:58:49 +0000 Subject: Fix build on %{arm} and aarch64 --- diff --git a/sysbench.spec b/sysbench.spec index da7cd24..25fe33c 100644 --- a/sysbench.spec +++ b/sysbench.spec @@ -54,7 +54,10 @@ autoreconf -vif %configure --with-mysql \ --with-pgsql \ --with-system-ck \ - --with-system-luajit + --with-system-luajit \ +%ifarch %{arm} aarch64 + --with-gcc-arch=native +%endif %make_build @@ -77,6 +80,7 @@ cd tests * Sun Feb 26 2017 Xavier Bachelot 1.0.3-1 - Update to 1.0.3 (RHBZ#1424670). - Restrict arches to the same ones as luajit. +- Add --with-gcc-arch=native to configure for %%{arm} and aarch64. * Sat Feb 25 2017 Xavier Bachelot 1.0.2-2 - Run test suite.