Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
4c9395f5
by Cheng Shao at 2026-01-08T13:30:16-05:00
1 changed file:
Changes:
| ... | ... | @@ -34,13 +34,6 @@ hsc2hsBuilderArgs = builder Hsc2Hs ? do |
| 34 | 34 | , notStage0 ? arg ("--cflag=-D" ++ tOs ++ "_HOST_OS=1" )
|
| 35 | 35 | , arg $ "--cflag=-D__GLASGOW_HASKELL__=" ++ version
|
| 36 | 36 | , arg $ "--template=" ++ tmpl
|
| 37 | - -- We'll assume we compile with gcc or clang, and both support
|
|
| 38 | - -- `-S` and can as such use the --via-asm flag, which should be
|
|
| 39 | - -- faster and is required for cross compiling to windows, as the c
|
|
| 40 | - -- compiler complains about non-constant expressions even though
|
|
| 41 | - -- they are constant and end up as constants in the assembly.
|
|
| 42 | - -- See #12849
|
|
| 43 | - , flag CrossCompiling ? isWinTarget ? arg "--via-asm"
|
|
| 44 | 37 | , arg =<< getInput
|
| 45 | 38 | , arg "-o", arg =<< getOutput ]
|
| 46 | 39 |