haskell / haskell/cabal

Add ability to force -dynamic flag on custom builds.

Open
#9,227 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.