Skip to content

Commit

Permalink
add cxx back
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Feb 22, 2024
1 parent 83f4682 commit 825b3dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ builds:
- CXX=o64-clang++
- >-
{{- if eq .Os "darwin" }}
{{- if eq .Arch "amd64"}}CC=o64-clang{{- end }}
{{- if eq .Arch "arm64"}}CC=oa64-clang{{- end }}
{{- if eq .Arch "amd64"}}CC=o64-clang CXX=o64-clang++{{- end }}
{{- if eq .Arch "arm64"}}CC=oa64-clang CXX=oa64-clang++{{- end }}
{{- end }}
{{ if eq .Os "linux" }}
{{- if eq .Arch "amd64" }}CC=x86_64-linux-gnu-gcc{{- end }}
{{- if eq .Arch "arm64" }}CC=aarch64-linux-gnu-gcc{{- end }}
{{- if eq .Arch "amd64" }}CC=x86_64-linux-gnu-gcc CXX=x86_64-linux-gnu-g++{{- end }}
{{- if eq .Arch "arm64" }}CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++{{- end }}
{{- end }}
{{- if eq .Os "windows" }}
{{- if eq .Arch "amd64" }}CC=x86_64-w64-mingw32-gcc{{- end }}
{{- if eq .Arch "arm64" }}CC=aarch64-w64-mingw32-gcc{{- end }}
{{- if eq .Arch "amd64" }}CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++{{- end }}
{{- if eq .Arch "arm64" }}CC=aarch64-w64-mingw32-gcc CXX=aarch64-w64-mingw32-g++{{- end }}
{{- end }}
flags:
- -mod=readonly
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Configuration for goreleaser
PACKAGE_NAME := github.com/onflow/flow-cli
GOLANG_CROSS_VERSION ?= v1.22.0
GOLANG_CROSS_VERSION ?= v1.20.0

# The short Git commit hash
SHORT_COMMIT := $(shell git rev-parse --short HEAD)
Expand Down

0 comments on commit 825b3dc

Please sign in to comment.