File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ similarly as `ghc-options` should be always used when
1313invoking ` ghc ` - regardless of what is the intention of a particular GHC-call.
1414GHC might use or not use the options, Cabal cannot know and should not guess.
1515
16+ [ Historical note]
17+ Before ` ghc ` 8.10, ` cc-options ` and ` cxx-options ` were split into one flag ` -optc ` ,
18+ then in 8.10 they started to split into ` -optc ` and ` -optcxx ` , cabal picked up
19+ this change and started to give flags separately not only for new versions,
20+ but also for old ones. That is, now for 8.8 we send ` -optc ` flags separately for
21+ different sources.
22+
1623` cc-options ` and ` cxx-options ` still need to be separated (C/C++) for versions below 8.10.
1724
1825gccProgram till need to be separated (C/C++) for versions below 9.4.
You can’t perform that action at this time.
0 commit comments