commit:     517654d83e64c8c38435f388c1cb9cd8390330f6
Author:     David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Sat Jun 12 18:38:36 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jun 12 18:45:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517654d8

net-dialup/ppp: respect CC with USE=gtk

Closes: https://bugs.gentoo.org/795660
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-dialup/ppp/ppp-2.4.9-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/ppp/ppp-2.4.9-r2.ebuild 
b/net-dialup/ppp/ppp-2.4.9-r2.ebuild
index 61bbe8a8906..a949862b2b6 100644
--- a/net-dialup/ppp/ppp-2.4.9-r2.ebuild
+++ b/net-dialup/ppp/ppp-2.4.9-r2.ebuild
@@ -107,8 +107,8 @@ src_prepare() {
 }
 
 src_compile() {
-       tc-export AR PKG_CONFIG
-       emake COPTS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)"
+       tc-export AR CC PKG_CONFIG
+       emake CC="${CC}" COPTS="${CFLAGS} -D_GNU_SOURCE"
 
        # build pppgetpass
        cd contrib/pppgetpass || die

Reply via email to