Skip to content

Commit

Permalink
Use arm64 for aarch64 on MacOS
Browse files Browse the repository at this point in the history
This should allow sassc and other external libraries to build
using the makefile configuration bits in rbconfig.

See sass/sassc-ruby#231
  • Loading branch information
headius committed Mar 10, 2022
1 parent 5e05d77 commit 007ac4b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public static String getArchitecture() {
String architecture = Platform.ARCH;
if (architecture == null) architecture = "unknown";
if ("amd64".equals(architecture)) architecture = "x86_64";
if ("aarch64".equals(architecture) && Platform.IS_MAC) architecture = "arm64";

return architecture;
}
Expand Down

0 comments on commit 007ac4b

Please sign in to comment.