From 1e4d93e0a4d4eb90f52f5c074f7548ca49416ec7 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 16 Feb 2021 18:33:34 +0000 Subject: sys-fs/compsize: respect CC Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James --- sys-fs/compsize/compsize-1.5.ebuild | 4 +++- sys-fs/compsize/compsize-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'sys-fs/compsize') diff --git a/sys-fs/compsize/compsize-1.5.ebuild b/sys-fs/compsize/compsize-1.5.ebuild index f00e46619d53..471c60d719d1 100644 --- a/sys-fs/compsize/compsize-1.5.ebuild +++ b/sys-fs/compsize/compsize-1.5.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit flag-o-matic +inherit flag-o-matic toolchain-funcs DESCRIPTION="Utility to find btrfs compression type/ratio on a file or set of files" HOMEPAGE="https://github.com/kilobyte/compsize" @@ -29,6 +29,8 @@ src_prepare() { } src_configure() { + tc-export CC + use debug && append-cflags -Wall -DDEBUG -g default } diff --git a/sys-fs/compsize/compsize-9999.ebuild b/sys-fs/compsize/compsize-9999.ebuild index f00e46619d53..471c60d719d1 100644 --- a/sys-fs/compsize/compsize-9999.ebuild +++ b/sys-fs/compsize/compsize-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit flag-o-matic +inherit flag-o-matic toolchain-funcs DESCRIPTION="Utility to find btrfs compression type/ratio on a file or set of files" HOMEPAGE="https://github.com/kilobyte/compsize" @@ -29,6 +29,8 @@ src_prepare() { } src_configure() { + tc-export CC + use debug && append-cflags -Wall -DDEBUG -g default } -- cgit v1.2.3-65-gdbad