Accepting request 55070 from Base:System
Accepted submit request 55070 from user elvigia OBS-URL: https://build.opensuse.org/request/show/55070 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=22
This commit is contained in:
commit
c5d205347f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 7 18:47:04 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||
|
||||
- Use compiler profile information, makes xz marginally faster
|
||||
(around 1-2 secs)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 30 20:17:49 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
|
14
xz.spec
14
xz.spec
@ -80,11 +80,23 @@ compiling programs using the LZMA library.
|
||||
|
||||
%build
|
||||
AUTOPOINT=true autoreconf -fiv
|
||||
%if %{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
|
||||
make %{?_smp_mflags}
|
||||
%if %{do_profiling}
|
||||
time make check
|
||||
make clean
|
||||
export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir"
|
||||
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name
|
||||
make %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%check
|
||||
LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
||||
time make check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
Loading…
Reference in New Issue
Block a user