Resolving dependencies...
Build profile: -w ghc-9.4.2 -O1
In order, the following will be built (use -v for more details):
- proteaaudio-0.9.4 (lib) (requires build)
Starting proteaaudio-0.9.4 (lib)
Building proteaaudio-0.9.4 (lib)
Failed to build proteaaudio-0.9.4.
Build log (
/Users/kristiansordal/.cabal/logs/ghc-9.4.2/prtd-0.9.4-c9cfa97b.log ):
Configuring library for proteaaudio-0.9.4..
Preprocessing library for proteaaudio-0.9.4..
Building library for proteaaudio-0.9.4..
[1 of 1] Compiling Sound.ProteaAudio ( dist/build/Sound/ProteaAudio.hs, dist/build/Sound/ProteaAudio.o, dist/build/Sound/ProteaAudio.dyn_o )
g++: error: unrecognized command-line option '--target=arm64-apple-darwin'
`g++' failed in phase `C++ Compiler'. (Exit code: 1)
Error: cabal: Failed to build proteaaudio-0.9.4. See the build log above for
details.
Unsure how to go about fixing this, any help is appreciated.