forked from pool/erofs-utils
- Use lz4hc.h from bundled copy, not the system.
OBS-URL: https://build.opensuse.org/package/show/filesystems/erofs-utils?expand=0&rev=2
This commit is contained in:
parent
db479c5e0d
commit
8131b73341
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 10 10:11:43 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Use lz4hc.h from bundled copy, not the system.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 19 20:57:48 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
Mon Nov 19 20:57:48 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ Patch2: no-static.diff
|
|||||||
Patch3: no-date.diff
|
Patch3: no-date.diff
|
||||||
BuildRequires: autoconf >= 2.69
|
BuildRequires: autoconf >= 2.69
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: liblz4-devel
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -58,6 +57,7 @@ pushd lz4-1.8.3/
|
|||||||
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
|
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
|
||||||
popd
|
popd
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
export CPPFLAGS="-I$PWD/lz4-1.8.3/lib"
|
||||||
%configure --disable-static --with-lz4="$PWD/lz4-1.8.3/lib" --bindir="%_sbindir"
|
%configure --disable-static --with-lz4="$PWD/lz4-1.8.3/lib" --bindir="%_sbindir"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user