Skip to content

Commit

Permalink
use x86_64 gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarak Ben Youssef committed Jan 12, 2024
1 parent d9d8d46 commit 4106378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/emulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN --mount=type=ssh \
go build -ldflags "-extldflags -static" -o ./app ./cmd/emulator ; \
elif [ "$TARGETARCH" = "amd64" ] ; then \
GO111MODULE=on CGO_ENABLED=1 GOOS=$TARGETOS \
GOARCH=$TARGETARCH CC=gcc \
GOARCH=$TARGETARCH CC=x86_64-linux-gnu-gcc \
go build -ldflags "-extldflags -static" -o ./app ./cmd/emulator ; \
fi

Expand Down

0 comments on commit 4106378

Please # to comment.