We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bfc04a commit f93ccddCopy full SHA for f93ccdd
Makefile
@@ -546,8 +546,10 @@ ifeq ($(GOOS),darwin)
546
# returns the architecture name converted from GOARCH to macOS's uname -m.
547
to_uname_m = $(foreach arch,$(1),$(shell echo $(arch) | sed 's/amd64/x86_64/'))
548
else ifeq ($(GOOS),linux)
549
+ifeq ($cross_compiling),true)
550
# CC is required for cross-compiling on Linux.
551
CC = $(call to_uname_m,$(GOARCH))-linux-gnu-gcc
552
+endif
553
else ifeq ($(GOOS),windows)
554
# artifact in zip format also provided for Windows.
555
ARTIFACT_FILE_EXTENSIONS += .zip
0 commit comments