Accepting request 85834 from home:elvigia:branches:Base:System
- Fix build in armv5el doesnt like profiling OBS-URL: https://build.opensuse.org/request/show/85834 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=40
This commit is contained in:
committed by
Git OBS Bridge
parent
1770765900
commit
f3021b3523
6
xz.spec
6
xz.spec
@@ -87,14 +87,14 @@ compiling programs using the LZMA library.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%if %{do_profiling}
|
||||
%ifnarch %{arm} && %{do_profiling}
|
||||
profiledir=$(mktemp -d)
|
||||
trap "rm -rf $profiledir" EXIT
|
||||
export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir"
|
||||
%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}
|
||||
%if %{do_profiling}
|
||||
%ifnarch %{arm} && %{do_profiling}
|
||||
time make check
|
||||
make clean
|
||||
export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir"
|
||||
|
Reference in New Issue
Block a user