Skip to content

Commit 4f9641d

Browse files
committed
Pass -this-unit-id because cabal doesn't when it compiles Cmm files
1 parent 5cbb5b4 commit 4f9641d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ _build/stage1/bin/ghc: _build/stage0/bin/ghc
194194
--ghc-options='"-optc=-DTargetVendor=\"FIXME\""' \
195195
--ghc-options='"-optc=-DGhcUnregisterised=\"FIXME\""' \
196196
--ghc-options='"-optc=-DTablesNextToCode=\"FIXME\""' \
197+
--ghc-options='-this-unit-id rts' \
197198
--builddir=_build/stage1/cabal/
198199

199200
clean:

0 commit comments

Comments
 (0)