Commit 69bfbc21 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

hadrian: Disable stripping when debug information is enabled

parent a4a6dc2a
Pipeline #27746 failed with stages
in 651 minutes and 59 seconds
......@@ -80,9 +80,11 @@ werror = addArgs (builder Ghc ? notStage0 ? arg "-Werror")
-- | Build C and Haskell objects with debugging information.
enableDebugInfo :: Flavour -> Flavour
enableDebugInfo = addArgs $ mconcat
[ builder (Ghc CompileHs) ? notStage0 ? arg "-g3"
, builder (Cc CompileC) ? notStage0 ? arg "-g3"
enableDebugInfo = addArgs $ notStage0 ? mconcat
[ builder (Ghc CompileHs) ? arg "-g3"
, builder (Cc CompileC) ? arg "-g3"
, builder (Cabal Setup) ? arg "--disable-library-stripping"
, builder (Cabal Setup) ? arg "--disable-executable-stripping"
]
-- | Enable the ticky-ticky profiler in stage2 GHC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment