File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Cabal/src/Distribution/Simple/Program Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -329,6 +329,7 @@ normaliseGhcArgs (Just ghcVersion) PackageDescription{..} ghcArgs
329
329
]
330
330
, from [8 , 2 ] [" -fmax-uncovered-patterns" , " -fmax-errors" ]
331
331
, from [8 , 4 ] $ to [8 , 6 ] [" -fmax-valid-substitutions" ]
332
+ , from [9 , 12 ] [" -fmax-forced-spec-args" , " -fwrite-if-compression" ]
332
333
]
333
334
334
335
dropIntFlag :: Bool -> String -> String -> Any
Original file line number Diff line number Diff line change
1
+ synopsis: Add new options from ghc 9.12
2
+ packages: Cabal
3
+ prs: #10468
4
+ significance:
5
+
6
+ description: {
7
+
8
+ - ghc 9.12 adds several new command line options, divided between
9
+ `LANGUAGE`s (already added), warnings, new preprocessor control options,
10
+ and compilation control options. Two options needed to be added to the
11
+ list of options requiring `Int` parameters.
12
+
13
+ The new options, excluding warning and language options, are:
14
+
15
+ * `-fexpose-overloaded-unfoldings`
16
+ * `-fmax-forced-spec-args=N`
17
+ * `-fno-expose-overloaded-unfoldings`
18
+ * `-fno-object-determinism`
19
+ * `-fobject-determinism`
20
+ * `-fwrite-if-compression=N`
21
+ * `-optCmmP…`
22
+ * `-optJSP…`
23
+ * `-pgmCmmP`
24
+ * `-pgmJSP`
25
+
26
+ As they all affect compilation and store hashes, the only necessary
27
+ change was to list the two numeric options so they will be parsed
28
+ correctly. To the best of our understanding, `-pgm*` and `-opt*`
29
+ options are already handled as a group.
30
+
31
+ }
You can’t perform that action at this time.
0 commit comments