Replies: 1 comment
-
Are you sure that the libraries are not built with split-sections? How are you verifying that? If you look in the cabal store, you can inspect the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a cabal file containing the build rules depending on quite a number of packages. It looks a bit like this:
My goal is to have all the dependencies built with
-fsplit-sections
, so I added a simplecabal.project
file, as follows:My expectation was that this would cause a rebuild of all the dependencies, and, transitively, their dependencies, with that flag enabled. This expectation partly stems from the documentation, section 7.6., that placing those things into the
package *
section makes them apply to all external dependencies.However, nothing happens. Doing the change, and running
cabal build
again seems to do nothing at all. I also tried other modifications, e.g., adding someghc-options
value to thepackage *
section, but that seems to not have an effect, either.What am I missing? (This is cabal 3.12.1.0 in case it matters.)
Beta Was this translation helpful? Give feedback.
All reactions