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:
parent
e4bc59bbbd
commit
ab919ebbbd
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user