Support for Darwin on arm64
petermat opened this issue · 3 comments
petermat commented
Current build for Darwin runs only on Intel based systems. ARM arch like MacBook M1 is failing.
...
$ ./splunkd -server $server -v
zsh: bad CPU type in executable: ./splunkd
Executable is Intel only:
file splunkd
splunkd: Mach-O 64-bit executable x86_64
Desired state:
$ file splunkd
splunkd: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64
- Mach-O 64-bit executable x86_64] [arm64]
splunkd (for architecture x86_64): Mach-O 64-bit executable x86_64
splunkd (for architecture arm64): Mach-O 64-bit executable arm64