Skip to content

Commit

Permalink
Fix gcc line in Makefile for Linux
Browse files Browse the repository at this point in the history
I needed this change for `make` to succeed on Fedora 41. Not sure if this is the right way to do this, so I'm open to suggestions. I haven't tested this on other Linux distros.
  • Loading branch information
fdmarcin authored Jan 31, 2025
1 parent 5fc3e81 commit fe2e099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ ifeq ($(GOOS),darwin)
to_uname_m = $(foreach arch,$(1),$(shell echo $(arch) | sed 's/amd64/x86_64/'))
else ifeq ($(GOOS),linux)
# CC is required for cross-compiling on Linux.
CC = $(call to_uname_m,$(GOARCH))-linux-gnu-gcc
CC = gcc
else ifeq ($(GOOS),windows)
# artifact in zip format also provided for Windows.
ARTIFACT_FILE_EXTENSIONS += .zip
Expand Down

0 comments on commit fe2e099

Please sign in to comment.