Merge pull request #4349 from MoritzHamann/master

Fix build for linux aarch64 architectures
This commit is contained in:
Laytan
2024-10-05 13:50:12 +02:00
committed by GitHub

View File

@@ -130,7 +130,7 @@ build_odin() {
EXTRAFLAGS="-O3"
;;
release-native)
if [ "$OS_ARCH" = "arm64" ]; then
if [ "$OS_ARCH" = "arm64" ] || [ "$OS_ARCH" = "aarch64" ]; then
# Use preferred flag for Arm (ie arm64 / aarch64 / etc)
EXTRAFLAGS="-O3 -mcpu=native"
else