Accepting request 116488 from multimedia:libs

- build with profiling rnabled (forwarded request 116485 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/116488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsamplerate?expand=0&rev=24
This commit is contained in:
Stephan Kulow 2012-05-08 10:28:01 +00:00 committed by Git OBS Bridge
commit aa5f268000
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}