Skip to content
Snippets Groups Projects
Commit d8d57729 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

ghc-cabal: Manually specify -XHaskell2010

Otherwise we end up with issues like #19631 when bootstrapping using GHC
9.2 and above.

Fixes #19631.
parent 91d1a773
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,8 @@ $(ghc-cabal_DIST_BINARY): $(CABAL_LEXER_DEP) utils/ghc-cabal/Main.hs $(TOUCH_DEP
"$(GHC)" $(SRC_HC_OPTS) \
$(addprefix -optc, $(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE0)) \
$(addprefix -optl, $(SRC_LD_OPTS) $(CONF_GCC_LINKER_OPTS_STAGE0)) \
-O0 \
-O0 \
-XHaskell2010 \
-hide-all-packages \
-package-env - \
$(addprefix -package , $(CABAL_BUILD_DEPS)) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment