Accepting request 130069 from multimedia:libs
- disable profiling on arm (forwarded request 130068 from dirkmueller) OBS-URL: https://build.opensuse.org/request/show/130069 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsamplerate?expand=0&rev=26
This commit is contained in:
commit
3474d3aedf
@ -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
|
Sat May 5 14:58:55 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -76,6 +76,8 @@ This package includes the example programs for libsamplerate.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%build
|
%build
|
||||||
|
%ifnarch %arm
|
||||||
|
# ARM has no working profile support in gcc atm
|
||||||
profiledir=`mktemp -d`
|
profiledir=`mktemp -d`
|
||||||
export CFLAGS="%optflags %cflags_profile_generate=$profiledir"
|
export CFLAGS="%optflags %cflags_profile_generate=$profiledir"
|
||||||
%configure --disable-silent-rules --disable-static
|
%configure --disable-silent-rules --disable-static
|
||||||
@ -85,6 +87,9 @@ make check
|
|||||||
popd
|
popd
|
||||||
make clean
|
make clean
|
||||||
export CFLAGS="%optflags %cflags_profile_feedback=$profiledir"
|
export CFLAGS="%optflags %cflags_profile_feedback=$profiledir"
|
||||||
|
%else
|
||||||
|
export CFLAGS="%optflags"
|
||||||
|
%endif
|
||||||
%configure --disable-silent-rules --disable-static
|
%configure --disable-silent-rules --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user