From 07f2ca98fd4249dc6ebad053bd6aef90c814efe0 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 24 Jan 2019 15:05:17 -0500 Subject: Remove reference to Opt_SplitObjs flag Split-objects has been removed. --- haddock-api/src/Haddock.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'haddock-api') 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! -- cgit v1.2.3