[commit: ghc] master: Add a "Dynamic by default" field to the ghc --info output (30b0871)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/30b08711fd94a2cc001382830b498686dcfcb7d0

>---------------------------------------------------------------

commit 30b08711fd94a2cc001382830b498686dcfcb7d0
Author: Ian Lynagh <[email protected]>
Date:   Wed Oct 3 17:59:59 2012 +0100

    Add a "Dynamic by default" field to the ghc --info output

>---------------------------------------------------------------

 compiler/main/DynFlags.hs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index bbf7b75..ccaf814 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -3097,6 +3097,8 @@ compilerInfo dflags
        ("Support SMP",                 cGhcWithSMP),
        ("Tables next to code",         cGhcEnableTablesNextToCode),
        ("RTS ways",                    cGhcRTSWays),
+       ("Dynamic by default",          if dYNAMIC_BY_DEFAULT dflags
+                                       then "YES" else "NO"),
        ("Leading underscore",          cLeadingUnderscore),
        ("Debug on",                    show debugIsOn),
        ("LibDir",                      topDir dflags),
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.