1
0
forked from pool/libsamplerate

Accepting request 130068 from openSUSE:Factory:ARM

- disable profiling on arm

OBS-URL: https://build.opensuse.org/request/show/130068
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsamplerate?expand=0&rev=21
This commit is contained in:
Takashi Iwai 2012-08-06 11:10:59 +00:00 committed by Git OBS Bridge
parent e4bc59bbbd
commit ab919ebbbd
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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}