Open
Description
Phenomenon: The following incantation works on macOS with cabal-install
3.6, but not with the version from master
:
$ brew install cpp
$ cabal-3.6 install -w ghc-8.8.4 fudgets
With master
this gives an error about a rejected option -traditional
to the C compiler.
cc1: error: command-line option '-traditional' is valid for the driver but not for C
`gcc-11' failed in phase `C Compiler'. (Exit code: 1)
fugets.cabal
contains the following configuration line:
ghc-options: -pgmP cpp-11 -optP -traditional
This option might be propagated to the wrong place.
It should be investigated if this regression was caused by: