package/go: fix a typo in CC and CXX env values
authorMichael Baudino <michael@baudi.no>
Fri, 18 Dec 2020 09:57:42 +0000 (09:57 +0000)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 19 Dec 2020 11:02:52 +0000 (12:02 +0100)
This commit fixes a typo in variable names that caused CC and CXX
environment variables to be empty.

Signed-off-by: Michael Baudino <michael@baudi.no>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/go/go.mk

index d9f4905eb916395f7e80f465c3a5a38f583e40b3..cabbdc84b723e6b68f875ab081e2e67b40e0f7b2 100644 (file)
@@ -99,8 +99,8 @@ HOST_GO_HOST_ENV = \
        $(HOST_GO_COMMON_ENV) \
        GOARCH="" \
        GOCACHE="$(HOST_GO_HOST_CACHE)" \
-       CC="$(HOST_CCNOCCACHE)" \
-       CXX="$(HOST_CXXNOCCACHE)" \
+       CC="$(HOSTCC_NOCCACHE)" \
+       CXX="$(HOSTCXX_NOCCACHE)" \
        CGO_CFLAGS="$(HOST_CFLAGS)" \
        CGO_CXXFLAGS="$(HOST_CXXFLAGS)" \
        CGO_LDFLAGS="$(HOST_LDFLAGS)"