Skip to content

Commit

Permalink
fix: wrong GOARCH for amd64
Browse files Browse the repository at this point in the history
i know how go works yes
  • Loading branch information
june-fish committed May 8, 2024
1 parent de0a551 commit 66e4244
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 @@ -57,7 +57,7 @@ $(INITFSZ_X64): $(INITFS_X64)

$(INITFS_X64):
mkdir -p build
pushd u-root && GBB_PATH=u-root GOOS=linux GOARCH=x86_64 u-root -o ../$(WORKDIR)/$(INITFS_X64) -uinitcmd="elvish -c 'sleep 3; boot'" core cmds/boot/boot; popd
pushd u-root && GBB_PATH=u-root GOOS=linux GOARCH=amd64 u-root -o ../$(WORKDIR)/$(INITFS_X64) -uinitcmd="elvish -c 'sleep 3; boot'" core cmds/boot/boot; popd


# Use 'make arm64' to build ARM64 (cross-compiling is supported).
Expand Down

0 comments on commit 66e4244

Please sign in to comment.