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
13
13
invoking ` ghc ` - regardless of what is the intention of a particular GHC-call.
14
14
GHC might use or not use the options, Cabal cannot know and should not guess.
15
15
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
+
16
23
` cc-options ` and ` cxx-options ` still need to be separated (C/C++) for versions below 8.10.
17
24
18
25
gccProgram till need to be separated (C/C++) for versions below 9.4.
You can’t perform that action at this time.
0 commit comments