Add ability to force -dynamic flag on custom builds.
Open
re: dynamic-linking
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the feature request**
I need to be able to force cabal to use the -dynamic flag on ghc when compiling Setup.hs on custom builds on Arch Linux.
**Additional context**
According to [this](https://stackoverflow.com/questions/58559840/cabal-stack-ignores-ghc-options-for-custom-setup-scripts) it's not possible to do that. Arch compiles Haskell differently and ghc always needs to be called up with the -dynamic flag for it to work.
Contributor guide
Assessment
This issue has not been assessed yet.