summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild3
-rw-r--r--sys-fs/squashfs-tools/squashfs-tools-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild
index 047b87476a49..ee38c952774c 100644
--- a/sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild
+++ b/sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/squashfs/squashfs${PV}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="lz4 lzma lzo static xattr +xz"
+IUSE="debug lz4 lzma lzo static xattr +xz"
LIB_DEPEND="sys-libs/zlib[static-libs(+)]
!xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) )
@@ -53,6 +53,7 @@ src_configure() {
)
tc-export CC
+ use debug && append-cppflags -DSQUASHFS_TRACE
use static && append-ldflags -static
}
diff --git a/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild b/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild
index 7815a957ec26..b2c2c5a39252 100644
--- a/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild
+++ b/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild
@@ -16,7 +16,7 @@ EGIT_REPO_URI="
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="lz4 lzma lzo static xattr +xz"
+IUSE="debug lz4 lzma lzo static xattr +xz"
LIB_DEPEND="sys-libs/zlib[static-libs(+)]
!xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) )
@@ -50,6 +50,7 @@ src_configure() {
)
tc-export CC
+ use debug && append-cppflags -DSQUASHFS_TRACE
use static && append-ldflags -static
}