Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

remove superfluous -fno-{ignore, omit}-interface-pragmas #675

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions src/Settings/Packages.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?
Expand All @@ -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)
Expand Down