Commit d5ff33d3 authored by Moritz Angermann's avatar Moritz Angermann

Adds `smp` flag to rts.cabal.

Reviewers: bgamari, erikd, simonmar

Reviewed By: simonmar

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4393
parent ec9aacf3
......@@ -24,6 +24,8 @@ flag 64bit
default: @Cabal64bit@
flag leading-underscore
default: @CabalLeadingUnderscore@
flag smp
default: True
library
-- rts is a wired in package and
......@@ -72,6 +74,8 @@ library
if flag(libdw)
-- for backtraces
extra-libraries: elf dw
if !flag(smp)
cpp-options: -DNOSMP
include-dirs: build ../includes includes
includes/dist-derivedconstants/header @FFIIncludeDir@
......
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