Skip to content

Commit

Permalink
Merge pull request #4349 from MoritzHamann/master
Browse files Browse the repository at this point in the history
Fix build for linux aarch64 architectures
  • Loading branch information
laytan authored Oct 5, 2024
2 parents 60eac68 + 2492426 commit cf8f138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_odin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf8f138

Please sign in to comment.