From 918575915065fe11676ee30e04717f644116d21f Mon Sep 17 00:00:00 2001 From: Alp Mestanogullari Date: Wed, 5 Sep 2018 12:20:09 +0200 Subject: [PATCH] remove superfluous -fno-{ignore, omit}-interface-pragmas --- src/Settings/Packages.hs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Settings/Packages.hs b/src/Settings/Packages.hs index 2dbb8269e8..5c9575cc93 100644 --- a/src/Settings/Packages.hs +++ b/src/Settings/Packages.hs @@ -27,13 +27,6 @@ packageArgs = do -- This fixes the 'unknown symbol stat' issue. -- See: https://github.com/snowleopard/hadrian/issues/259. , builder (Ghc CompileCWithGhc) ? arg "-optc-O2" - - -- See https://ghc.haskell.org/trac/ghc/ticket/15286 and - -- https://phabricator.haskell.org/D4880 - , builder (Ghc CompileHs) ? mconcat - [ input "//Natural.hs" ? pure ["-fno-omit-interface-pragmas"] - , input "//Num.hs" ? pure ["-fno-ignore-interface-pragmas"] - ] ] ------------------------------ bytestring ------------------------------ , package bytestring ? @@ -53,7 +46,7 @@ packageArgs = do , builder (Ghc CompileHs) ? mconcat [ inputs ["//GHC.hs", "//GhcMake.hs"] ? arg "-fprof-auto" , input "//Parser.hs" ? - pure ["-fno-ignore-interface-pragmas", "-fcmm-sink" ] ] + pure ["-fcmm-sink" ] ] , builder (Cabal Setup) ? mconcat [ arg $ "--ghc-option=-DSTAGE=" ++ show (fromEnum stage + 1)