aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-24 15:05:17 -0500
committerBen Gamari <ben@smart-cactus.org>2019-03-04 22:13:20 -0500
commit07f2ca98fd4249dc6ebad053bd6aef90c814efe0 (patch)
tree62c23370eef316e905acceff7ac08ca97e616adc /haddock-api
parent8459c600e0f6da3f85abefdefe651bbe3ed3da4a (diff)
Remove reference to Opt_SplitObjs flag
Split-objects has been removed.
Diffstat (limited to 'haddock-api')
-rw-r--r--haddock-api/src/Haddock.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock.hs b/haddock-api/src/Haddock.hs
index 9f33eb77..c8390894 100644
--- a/haddock-api/src/Haddock.hs
+++ b/haddock-api/src/Haddock.hs
@@ -467,8 +467,7 @@ withGhc' libDir needHieFiles flags ghcActs = runGhc (Just libDir) $ do
-- We disable pattern match warnings because than can be very
-- expensive to check
let dynflags'' = unsetPatternMatchWarnings $
- updOptLevel 0 $
- gopt_unset dynflags' Opt_SplitObjs
+ updOptLevel 0 dynflags'
-- ignore the following return-value, which is a list of packages
-- that may need to be re-linked: Haddock doesn't do any
-- dynamic or static linking at all!