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

Unbreak the build.

parent 8c3ce5fb
Branches
Tags Cabal-v1.20.0.3 cabal-install-v1.20.0.4
No related merge requests found
...@@ -773,7 +773,7 @@ buildOrReplLib forRepl verbosity numJobsFlag pkg_descr lbi lib clbi = do ...@@ -773,7 +773,7 @@ buildOrReplLib forRepl verbosity numJobsFlag pkg_descr lbi lib clbi = do
sequence_ sequence_
[ do let baseCcOpts = componentCcGhcOptions verbosity lbi [ do let baseCcOpts = componentCcGhcOptions verbosity lbi
libBi clbi libTargetDir filename libBi clbi libTargetDir filename
vanillaCcOpts = if isGhcDynamic vanillaCcOpts = if isGhcDynamic
-- Dynamic GHC requires C sources to be built -- Dynamic GHC requires C sources to be built
-- with -fPIC for REPL to work. See #2207. -- with -fPIC for REPL to work. See #2207.
then baseCcOpts { ghcOptFPic = toFlag True } then baseCcOpts { ghcOptFPic = toFlag True }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment