Accepting request 116485 from home:elvigia:branches:multimedia:libs

- build with profiling rnabled

OBS-URL: https://build.opensuse.org/request/show/116485
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsamplerate?expand=0&rev=19
This commit is contained in:
Cristian Rodríguez 2012-05-05 16:02:12 +00:00 committed by Git OBS Bridge
parent d6d00df04d
commit e4bc59bbbd
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 5 14:58:55 UTC 2012 - crrodriguez@opensuse.org
- build with profiling rnabled
-------------------------------------------------------------------
Tue Mar 6 11:17:23 UTC 2012 - saschpe@suse.de

View File

@ -27,7 +27,6 @@ Source0: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: fftw3-devel
BuildRequires: libsndfile-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -76,8 +75,16 @@ This package includes the example programs for libsamplerate.
%prep
%setup -q
%build
profiledir=`mktemp -d`
export CFLAGS="%optflags %cflags_profile_generate=$profiledir"
%configure --disable-silent-rules --disable-static
make %{?_smp_mflags}
pushd tests
make check
popd
make clean
export CFLAGS="%optflags %cflags_profile_feedback=$profiledir"
%configure --disable-silent-rules --disable-static
make %{?_smp_mflags}