package/go: add double quotes around TARGET_CC/TARGET_CXX
Using double quotes around TARGET_CC/TARGET_CXX is mandatory, since they are composed of several words when ccache support is enabled. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
6cb235a4de
commit
4a1e4a5c7d
|
@ -40,8 +40,8 @@ HOST_GO_TOOLDIR = $(HOST_GO_ROOT)/pkg/tool/linux_$(GO_GOARCH)
|
||||||
HOST_GO_TARGET_ENV = \
|
HOST_GO_TARGET_ENV = \
|
||||||
GOARCH=$(GO_GOARCH) \
|
GOARCH=$(GO_GOARCH) \
|
||||||
GOROOT="$(HOST_GO_ROOT)" \
|
GOROOT="$(HOST_GO_ROOT)" \
|
||||||
CC=$(TARGET_CC) \
|
CC="$(TARGET_CC)" \
|
||||||
CXX=$(TARGET_CXX) \
|
CXX="$(TARGET_CXX)" \
|
||||||
GOTOOLDIR="$(HOST_GO_TOOLDIR)"
|
GOTOOLDIR="$(HOST_GO_TOOLDIR)"
|
||||||
|
|
||||||
# The go compiler's cgo support uses threads. If BR2_TOOLCHAIN_HAS_THREADS is
|
# The go compiler's cgo support uses threads. If BR2_TOOLCHAIN_HAS_THREADS is
|
||||||
|
@ -74,8 +74,8 @@ HOST_GO_MAKE_ENV = \
|
||||||
CC=$(HOSTCC_NOCCACHE)
|
CC=$(HOSTCC_NOCCACHE)
|
||||||
|
|
||||||
HOST_GO_TARGET_CC = \
|
HOST_GO_TARGET_CC = \
|
||||||
CC_FOR_TARGET=$(TARGET_CC) \
|
CC_FOR_TARGET="$(TARGET_CC)" \
|
||||||
CXX_FOR_TARGET=$(TARGET_CXX)
|
CXX_FOR_TARGET="$(TARGET_CXX)"
|
||||||
|
|
||||||
HOST_GO_HOST_CC = \
|
HOST_GO_HOST_CC = \
|
||||||
CC_FOR_TARGET=$(HOSTCC_NOCCACHE) \
|
CC_FOR_TARGET=$(HOSTCC_NOCCACHE) \
|
||||||
|
|
Loading…
Reference in a new issue