csabahruska / proteaaudio

Simple audio library for Windows, Linux, OSX. Supports Mp3, Ogg, Wav playback and multichannel mixing.
28 stars 8 forks source link

Unable to build with GHC 8.10 #6

Closed mgmeier closed 3 years ago

mgmeier commented 4 years ago

Currently, it is impossible to pass flags to the C++ compiler, since GHC 8.10 will use only -optcxx for that, whereas before, -optc would suffice. Cabal however does currently not evaluate the cxx-sources and cxx-options fields correctly. This means, the necessary flags will never pass from cabal-install > ghc > gcc / clang / ...

This issue is blocked by: https://github.com/haskell/cabal/issues/6421

csabahruska commented 3 years ago

The cabal issue is fixed not. So proteaaudio now should compile with GHC 8.10 also. fixed in: https://github.com/csabahruska/proteaaudio/commit/3344a673493757114c30a2b56aa59d2cdcea446e