Skip to content

-dynamic-too is ignored when using -dynamic #6746

Description

@cblp

General summary/comments (optional)

When I add ghc-options: -dynamic to cabal-file and compile with -Werror, I get the following error:

[warn] when making flags consistent: error: [-Werror]
[warn]     -dynamic-too is ignored when using -dynamic

Stack version

stack --version
Version 3.5.1, Git revision 86415540dffcb1990e0b503c894dcb913378f5dc x86_64 hpack-0.38.0

Method of installation

  • Via GHCup

Platform

macOS 15.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions