Commit 68f0a6a6 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Austin Seipp

Fix --enable-unregistered by passing NOSMP to .hc compiler (#8748)

Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 13829758
......@@ -353,6 +353,11 @@ else
compiler_CONFIGURE_OPTS += --ghc-option=-DNO_REGS
endif
ifneq "$(GhcWithSMP)" "YES"
compiler_CONFIGURE_OPTS += --ghc-option=-DNOSMP
compiler_CONFIGURE_OPTS += --ghc-option=-optc-DNOSMP
endif
# Careful optimisation of the parser: we don't want to throw everything
# at it, because that takes too long and doesn't buy much, but we do want
# to inline certain key external functions, so we instruct GHC not to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment