diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-11-25 20:49:56 +0800 |
---|---|---|
committer | Moritz Angermann <moritz.angermann@gmail.com> | 2018-02-15 09:51:11 +0800 |
commit | d5ff33d34b0d8eb26b496a809a2f73e83ea59573 (patch) | |
tree | d944ff22cda78d62be227f33a086254f492fac92 /rts/rts.cabal.in | |
parent | ec9aacf3eb2975fd302609163aaef429962ecd87 (diff) | |
download | haskell-d5ff33d34b0d8eb26b496a809a2f73e83ea59573.tar.gz |
Adds `smp` flag to rts.cabal.
Reviewers: bgamari, erikd, simonmar
Reviewed By: simonmar
Subscribers: rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4393
Diffstat (limited to 'rts/rts.cabal.in')
-rw-r--r-- | rts/rts.cabal.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/rts.cabal.in b/rts/rts.cabal.in index 53b6271b10..ce9d751ba3 100644 --- a/rts/rts.cabal.in +++ b/rts/rts.cabal.in @@ -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@ |