Skip to content

Commit 402e857

Browse files
committed
Add [Historical note] to changelog.d
1 parent f8508f7 commit 402e857

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

changelog.d/pr-10969.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ similarly as `ghc-options` should be always used when
1313
invoking `ghc` - regardless of what is the intention of a particular GHC-call.
1414
GHC 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

1825
gccProgram till need to be separated (C/C++) for versions below 9.4.

0 commit comments

Comments
 (0)