diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-26 21:06:26 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-26 21:06:55 +0200 |
commit | 4a1e4a5c7dd94e0490df95597635eb48e4f7f7fb (patch) | |
tree | cf4cdeaf179dcf1d9ea233bce006b3fa99a83fa0 /package | |
parent | 6cb235a4deb07406d516454708b8d9667f6832ba (diff) | |
download | buildroot-4a1e4a5c7dd94e0490df95597635eb48e4f7f7fb.tar.gz buildroot-4a1e4a5c7dd94e0490df95597635eb48e4f7f7fb.zip |
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>
Diffstat (limited to 'package')
-rw-r--r-- | package/go/go.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/go/go.mk b/package/go/go.mk index 98615aaeaf..a1d6cf9df2 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -40,8 +40,8 @@ HOST_GO_TOOLDIR = $(HOST_GO_ROOT)/pkg/tool/linux_$(GO_GOARCH) HOST_GO_TARGET_ENV = \ GOARCH=$(GO_GOARCH) \ GOROOT="$(HOST_GO_ROOT)" \ - CC=$(TARGET_CC) \ - CXX=$(TARGET_CXX) \ + CC="$(TARGET_CC)" \ + CXX="$(TARGET_CXX)" \ GOTOOLDIR="$(HOST_GO_TOOLDIR)" # 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) HOST_GO_TARGET_CC = \ - CC_FOR_TARGET=$(TARGET_CC) \ - CXX_FOR_TARGET=$(TARGET_CXX) + CC_FOR_TARGET="$(TARGET_CC)" \ + CXX_FOR_TARGET="$(TARGET_CXX)" HOST_GO_HOST_CC = \ CC_FOR_TARGET=$(HOSTCC_NOCCACHE) \ |