Skip to content

Commit

Permalink
fix: removing additional vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Feb 10, 2024
1 parent 553706d commit 14a65c8
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,16 @@ builds:
- CGO_ENABLED=1
- PKG_CONFIG_SYSROOT_DIR=/sysroot/macos/amd64
- PKG_CONFIG_PATH=/sysroot/macos/amd64/usr/local/lib/pkgconfig
#- CC=o64-clang
#- CXX=o64-clang++
- CC=clang # Changed from o64-clang
- CXX=clang++ # Changed from o64-clang++
- CC=o64-clang # (GitHub action)
- CXX=o64-clang++ # (GitHub action)
#- CC=clang # Changed from o64-clang (works for mac)
#- CXX=clang++ # Changed from o64-clang++ (works for mac)
#mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -mod=readonly
ldflags:
- -s -w -X main.version={{.Version}}
#- -s -w -X github.com/bitcoin-sv/{{ .ProjectName }}/cmd.Version={{ .Version }}
overrides:
- goos: linux
goarch: arm64
env:
- CC=aarch64-linux-gnu-gcc

- id: linux-armhf
main: ./cmd/
Expand All @@ -73,11 +68,12 @@ builds:
ldflags:
- -s -w -X main.version={{.Version}}
#- -s -w -X github.com/bitcoin-sv/{{ .ProjectName }}/cmd.Version={{ .Version }}
overrides:
- goos: linux
goarch: arm64
env:
- CC=aarch64-linux-gnu-gcc
# overrides:
# - goos: linux
# goarch: arm64
# env:
# - CC=aarch64-linux-gnu-gcc

# ---------------------------
# Archives + Checksums
# ---------------------------
Expand Down

0 comments on commit 14a65c8

Please sign in to comment.