summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2021-12-09 15:48:22 +0900
committerINSUN PYO <insun.pyo@samsung.com>2021-12-09 15:48:30 +0900
commit94a9463a409c1c268842782ec53f91a272864b9a (patch)
tree981506bd6f82063e1470b38f02153a7921b4ed30
parentdc4ca20ab95bbf5ec3a51eaa82daf60dcc5a581d (diff)
downloadsquashfs-tizen.tar.gz
squashfs-tizen.tar.bz2
squashfs-tizen.zip
Change-Id: I778fef8bac7376a411611b67d3414a03ef39f9f5
-rw-r--r--packaging/squashfs.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/squashfs.spec b/packaging/squashfs.spec
index 5daa090..e44f290 100644
--- a/packaging/squashfs.spec
+++ b/packaging/squashfs.spec
@@ -12,6 +12,7 @@ BuildRequires: lzma-devel
BuildRequires: lzo-devel
BuildRequires: lz4-devel
BuildRequires: zlib-devel
+BuildRequires: libzstd-devel
Supplements: filesystem(squashfs)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -25,7 +26,7 @@ cp %{SOURCE1001} .
%build
sed -i -e "s#-O2#%{optflags}#g" squashfs-tools/Makefile
-make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1
+make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1
%install
mkdir -p %{buildroot}/usr/bin