Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9f3b92789c1a7cb89fdcf30afc05d7dac66cab7b >--------------------------------------------------------------- commit 9f3b92789c1a7cb89fdcf30afc05d7dac66cab7b Author: Ian Lynagh <ig...@earth.li> Date: Mon Oct 15 18:51:07 2012 +0100 Use -O0 -g C flags when compiling a debug way >--------------------------------------------------------------- compiler/main/DynFlags.hs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index a5fcd1b..4021ce5 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1059,7 +1059,7 @@ wayOptc platform WayThreaded = case platformOS platform of OSOpenBSD -> ["-pthread"] OSNetBSD -> ["-pthread"] _ -> [] -wayOptc _ WayDebug = [] +wayOptc _ WayDebug = ["-O0", "-g"] wayOptc _ WayDyn = ["-DDYNAMIC"] wayOptc _ WayProf = ["-DPROFILING"] wayOptc _ WayEventLog = ["-DTRACING"] _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc