Skip to content
Snippets Groups Projects
Commit f02a8651 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Re-enable -threaded for the cabal-install exe.

I forgot to enable -threaded for the cabal-install exe when I split
cabal-install into an exe and a library part. Thanks to Tuncer Ayaz for the
heads-up.
parent 6a4b3b5c
No related branches found
No related tags found
No related merge requests found
......@@ -38,9 +38,7 @@ flag bytestring-in-base
Library
ghc-options: -Wall
if !arch(arm)
ghc-options: -threaded
else
if arch(arm)
cc-options: -DCABAL_NO_THREADED
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
......@@ -156,6 +154,10 @@ Executable cabal
Main-Is: Main.hs
hs-source-dirs: src
ghc-options: -Wall
if !arch(arm)
ghc-options: -threaded
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
build-depends: base >= 2 && < 5,
Cabal >= 1.17.0 && < 1.18,
cabal-install >= 1.17.0 && < 1.18,
......@@ -179,3 +181,7 @@ Test-Suite unit-tests
cabal-install,
Cabal
ghc-options: -Wall
if !arch(arm)
ghc-options: -threaded
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
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