commit:     8df34eaef31967d02fbe917bbb5ebe9f2f429b1a
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Wed Dec 23 08:46:44 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Dec 23 08:48:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8df34eae

media-gfx/azpainter: Give CC to configure

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 media-gfx/azpainter/azpainter-2.1.6.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-gfx/azpainter/azpainter-2.1.6.ebuild 
b/media-gfx/azpainter/azpainter-2.1.6.ebuild
index 9ce319e1..2775db14 100644
--- a/media-gfx/azpainter/azpainter-2.1.6.ebuild
+++ b/media-gfx/azpainter/azpainter-2.1.6.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="Full color painting software for Linux for illustration drawing"
 HOMEPAGE="http://azsky2.html.xdomain.jp/soft/azpainter.html 
https://github.com/Symbian9/azpainter";
 
SRC_URI="https://github.com/Symbian9/azpainter/releases/download/v${PV}/${P}.tar.xz";
@@ -30,5 +32,5 @@ PATCHES=(
 )
 
 src_configure() {
-       sh ./configure --prefix=/usr CFLAGS="${CFLAGS:-02}" LDFLAGS="${LDFLAGS}"
+       sh ./configure --prefix=/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS:-02}" 
LDFLAGS="${LDFLAGS}"
 }

Reply via email to