Accepting request 287340 from home:rguenther:branches:multimedia:libs
- Avoid running configure twice and using -fprofile-generate or -fprofile-use for compiling configure tests when profiling. OBS-URL: https://build.opensuse.org/request/show/287340 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsamplerate?expand=0&rev=29
This commit is contained in:
parent
31e27af401
commit
af7bb7dd75
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 23 14:17:04 UTC 2015 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Avoid running configure twice and using -fprofile-generate or
|
||||||
|
-fprofile-use for compiling configure tests when profiling.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 26 12:14:15 UTC 2014 - fcrozat@suse.com
|
Tue Aug 26 12:14:15 UTC 2014 - fcrozat@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsamplerate
|
# spec file for package libsamplerate
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -82,19 +82,17 @@ This package includes the example programs for libsamplerate.
|
|||||||
%ifnarch %arm aarch64
|
%ifnarch %arm aarch64
|
||||||
# ARM has no working profile support in gcc atm
|
# ARM has no working profile support in gcc atm
|
||||||
profiledir=`mktemp -d`
|
profiledir=`mktemp -d`
|
||||||
export CFLAGS="%optflags %cflags_profile_generate=$profiledir"
|
|
||||||
%configure --disable-silent-rules --disable-static
|
%configure --disable-silent-rules --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} CFLAGS="%optflags %cflags_profile_generate=$profiledir"
|
||||||
pushd tests
|
pushd tests
|
||||||
make check
|
make check
|
||||||
popd
|
popd
|
||||||
make clean
|
make clean
|
||||||
export CFLAGS="%optflags %cflags_profile_feedback=$profiledir"
|
make %{?_smp_mflags} CFLAGS="%optflags %cflags_profile_feedback=$profiledir"
|
||||||
%else
|
%else
|
||||||
export CFLAGS="%optflags"
|
|
||||||
%endif
|
|
||||||
%configure --disable-silent-rules --disable-static
|
%configure --disable-silent-rules --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} CFLAGS="%optflags"
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd tests
|
pushd tests
|
||||||
|
Loading…
Reference in New Issue
Block a user