Skip to content

Commit

Permalink
Ignore the spcial case of target_cpu
Browse files Browse the repository at this point in the history
On Windows, x86_64 is called as x64.
  • Loading branch information
nobu committed Dec 15, 2023
1 parent 2c2c6bc commit 4d5bfa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tool/m4/ruby_default_arch.m4
Expand Up @@ -6,6 +6,7 @@ AS_CASE([$1:"$host_cpu"],
[arm64:arm*], [ARCH_FLAG=-m64],
[arm*:arm*], [ARCH_FLAG=-m32],
[x86_64:[i[3-6]86]], [ARCH_FLAG=-m64],
[x64:x86_64], [],
[[i[3-6]86]:x86_64], [ARCH_FLAG=-m32],
[ppc64:ppc*], [ARCH_FLAG=-m64],
[ppc*:ppc64], [ARCH_FLAG=-m32],
Expand Down

0 comments on commit 4d5bfa7

Please sign in to comment.