diff --git a/libsamplerate.changes b/libsamplerate.changes index cac5c57..85d3464 100644 --- a/libsamplerate.changes +++ b/libsamplerate.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 23 14:17:04 UTC 2015 - rguenther@suse.com + +- Avoid running configure twice and using -fprofile-generate or + -fprofile-use for compiling configure tests when profiling. + ------------------------------------------------------------------- Tue Aug 26 12:14:15 UTC 2014 - fcrozat@suse.com diff --git a/libsamplerate.spec b/libsamplerate.spec index 1b8555f..9b32919 100644 --- a/libsamplerate.spec +++ b/libsamplerate.spec @@ -1,7 +1,7 @@ # # spec file for package libsamplerate # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -82,19 +82,17 @@ This package includes the example programs for libsamplerate. %ifnarch %arm aarch64 # 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 -make %{?_smp_mflags} +make %{?_smp_mflags} CFLAGS="%optflags %cflags_profile_generate=$profiledir" pushd tests make check popd make clean -export CFLAGS="%optflags %cflags_profile_feedback=$profiledir" +make %{?_smp_mflags} CFLAGS="%optflags %cflags_profile_feedback=$profiledir" %else -export CFLAGS="%optflags" -%endif %configure --disable-silent-rules --disable-static -make %{?_smp_mflags} +make %{?_smp_mflags} CFLAGS="%optflags" +%endif %check pushd tests