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 / ...
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
andcxx-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