Skip to content

Commit

Permalink
Feature/darwin arm support (#27)
Browse files Browse the repository at this point in the history
* darwin arm64 support

* darwin arm64 flag secure

* fix goos == darwin
  • Loading branch information
error2215 authored Jun 3, 2022
1 parent 4b94338 commit c17bcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion randomy.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func GetFlags() C.randomx_flags {
if hasAES() {
flag += FlagHardAES
}
if runtime.GOARCH == "arm64" && runtime.GOOS == "macos" {
if runtime.GOARCH == "arm64" && runtime.GOOS == "darwin" {
flag += FlagSecure
}
return flag
Expand Down

0 comments on commit c17bcdf

Please sign in to comment.