Fix architecture detection

This commit is contained in:
2025-03-14 01:27:37 +08:00
parent a9a1bbe740
commit 881c7b3229

View File

@@ -5,7 +5,7 @@ SERVER = src/godot/bin/godot_server.x11.opt.tools.64
export-clean export-linux-demo export-windows-demo \ export-clean export-linux-demo export-windows-demo \
export-binaries patch tests import-vrm export-binaries patch tests import-vrm
all: godot-editor-main godot-main all: godot-editor-main godot-main
ARCH=$(patsubst aarch64,arm64,$(shell uname -i)) ARCH=$(patsubst aarch64,arm64,$(shell uname -m))
godot-main: patch godot-main: patch
cd src/godot; \ cd src/godot; \
scons platform=x11 arch=$(ARCH) target=release tools=no custom_modules=../modules -j16; \ scons platform=x11 arch=$(ARCH) target=release tools=no custom_modules=../modules -j16; \