mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-08 21:47:59 -05:00
changes for M1
This commit is contained in:
@@ -265,6 +265,7 @@ String getCurrentPlatformName() {
|
||||
|
||||
boolean isX86_32 = archName.equals("x86") || archName.equals("i386");
|
||||
boolean isX86_64 = archName.equals("x86_64") || archName.equals("amd64");
|
||||
boolean isAARCH_64 = archName.equals("aarch64");
|
||||
|
||||
if (osName.startsWith("Windows")) {
|
||||
if (isX86_32) {
|
||||
@@ -283,6 +284,9 @@ String getCurrentPlatformName() {
|
||||
if (isX86_64) {
|
||||
return 'osx64'
|
||||
}
|
||||
if (isAARCH_64) {
|
||||
return 'aarch64'
|
||||
}
|
||||
}
|
||||
throw new GradleException("Unrecognized current platform -> osName = $osName, archName = $archName")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user