Accepting request 85836 from Base:System
- Fix build in armv5el doesnt like profiling (forwarded request 85834 from elvigia) OBS-URL: https://build.opensuse.org/request/show/85836 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=33
This commit is contained in:
commit
426836d8a0
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 30 20:31:59 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Fix build in armv5el doesnt like profiling
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 27 13:05:34 UTC 2011 - sweet_f_a@gmx.de
|
Tue Sep 27 13:05:34 UTC 2011 - sweet_f_a@gmx.de
|
||||||
|
|
||||||
|
6
xz.spec
6
xz.spec
@ -87,14 +87,14 @@ compiling programs using the LZMA library.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{do_profiling}
|
%ifnarch %{arm} && %{do_profiling}
|
||||||
profiledir=$(mktemp -d)
|
profiledir=$(mktemp -d)
|
||||||
trap "rm -rf $profiledir" EXIT
|
trap "rm -rf $profiledir" EXIT
|
||||||
export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir"
|
export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir"
|
||||||
%endif
|
%endif
|
||||||
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name
|
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name || cat config.log
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
%if %{do_profiling}
|
%ifnarch %{arm} && %{do_profiling}
|
||||||
time make check
|
time make check
|
||||||
make clean
|
make clean
|
||||||
export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir"
|
export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir"
|
||||||
|
Loading…
Reference in New Issue
Block a user