summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-11-27 04:15:37 -0500
committerMike Frysinger <vapier@gentoo.org>2016-11-27 04:17:47 -0500
commit05f7d5800a01f9e3f77efff3a6ebbef91cd38042 (patch)
tree5c573455b37c26194fc8a3a13e5577b1d8b29def /sys-fs/squashfs-tools/squashfs-tools-9999.ebuild
parentapp-emacs/ddskk: install skk-setup.el (diff)
downloadgentoo-05f7d5800a01f9e3f77efff3a6ebbef91cd38042.tar.gz
gentoo-05f7d5800a01f9e3f77efff3a6ebbef91cd38042.tar.bz2
gentoo-05f7d5800a01f9e3f77efff3a6ebbef91cd38042.zip
sys-fs/squashfs-tools: add USE=debug support for internal tool tracing
Diffstat (limited to 'sys-fs/squashfs-tools/squashfs-tools-9999.ebuild')
-rw-r--r--sys-fs/squashfs-tools/squashfs-tools-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
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
}