git: f55607ce7b90 - main - lang/go, lang/go-devel: Respect CC

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Mon, 08 Nov 2021 06:21:25 UTC
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f55607ce7b906bd7886b857f568956880f4281ff

commit f55607ce7b906bd7886b857f568956880f4281ff
Author:     Evgeniy Khramtsov <evgeniy@khramtsov.org>
AuthorDate: 2021-11-08 06:19:59 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-11-08 06:19:59 +0000

    lang/go, lang/go-devel: Respect CC
    
    PR:             258291
---
 lang/go-devel/Makefile | 2 +-
 lang/go/Makefile       | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/go-devel/Makefile b/lang/go-devel/Makefile
index f96a6eedf52c..a127c479e528 100644
--- a/lang/go-devel/Makefile
+++ b/lang/go-devel/Makefile
@@ -2,7 +2,7 @@
 
 PORTVERSION=	g20211105
 # Always set PORTREVISION and PORTEPOCH explicitly as otherwise they are inherited from lang/go
-PORTREVISION=	0
+PORTREVISION=	1
 PORTEPOCH=	0
 MASTER_SITES=	https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
 		LOCAL/dmgk:bootstrap
diff --git a/lang/go/Makefile b/lang/go/Makefile
index aeafd13bef45..5a7a1f6453a0 100644
--- a/lang/go/Makefile
+++ b/lang/go/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	go
 PORTVERSION?=	1.17.3
-PORTREVISION?=	0
+PORTREVISION?=	1
 PORTEPOCH?=	1
 CATEGORIES=	lang
 MASTER_SITES?=	https://golang.org/dl/ \
@@ -106,6 +106,7 @@ do-test:
 		GOARCH=${GOARCH_${ARCH}} \
 		GO386=${GO386} \
 		GOARM=${GOARM_${ARCH}} \
+		CC=${CC} \
 		${SH} run.bash -no-rebuild
 
 .if !defined(_GO_MAKESUM_GUARD)