Skip to content

Commit 45c727f

Browse files
authored
Merge pull request #2379 from afbjorklund/amd64-gcc
Make sure to set the compiler also for amd64
2 parents eacc57b + 1b70f48 commit 45c727f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
- uses: actions/setup-go@v5
5353
with:
5454
go-version: 1.22.x
55+
- name: Install gcc-x86-64-linux-gnu
56+
run: |
57+
sudo apt-get update
58+
sudo apt-get install -y gcc-x86-64-linux-gnu
5559
- name: Install gcc-aarch64-linux-gnu
5660
run: |
5761
sudo apt-get update

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ artifacts-darwin:
268268
.PHONY: artifacts-linux
269269
artifacts-linux:
270270
mkdir -p _artifacts
271-
GOOS=linux GOARCH=amd64 make clean binaries
271+
GOOS=linux GOARCH=amd64 CC=x86_64-linux-gnu-gcc make clean binaries
272272
$(TAR) -C _output/ -czvf _artifacts/lima-$(VERSION_TRIMMED)-Linux-x86_64.tar.gz ./
273273
GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc make clean binaries
274274
$(TAR) -C _output/ -czvf _artifacts/lima-$(VERSION_TRIMMED)-Linux-aarch64.tar.gz ./

0 commit comments

Comments
 (0)