diff --git a/libsamplerate.changes b/libsamplerate.changes index 844f561..0b42320 100644 --- a/libsamplerate.changes +++ b/libsamplerate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 1 06:54:11 UTC 2012 - adrian@suse.de + +- disable profiling on arm + ------------------------------------------------------------------- Sat May 5 14:58:55 UTC 2012 - crrodriguez@opensuse.org diff --git a/libsamplerate.spec b/libsamplerate.spec index f250124..8eb8ec3 100644 --- a/libsamplerate.spec +++ b/libsamplerate.spec @@ -76,6 +76,8 @@ This package includes the example programs for libsamplerate. %prep %setup -q %build +%ifnarch %arm +# ARM has no working profile support in gcc atm profiledir=`mktemp -d` export CFLAGS="%optflags %cflags_profile_generate=$profiledir" %configure --disable-silent-rules --disable-static @@ -85,6 +87,9 @@ make check popd make clean export CFLAGS="%optflags %cflags_profile_feedback=$profiledir" +%else +export CFLAGS="%optflags" +%endif %configure --disable-silent-rules --disable-static make %{?_smp_mflags}