summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-03 17:59:59 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-03 17:59:59 +0100
commit30b08711fd94a2cc001382830b498686dcfcb7d0 (patch)
tree95b4e37917d4494d99df9e715b26da8d15ebd9d8
parenta6b0ab269e74ca06445230a243065a0e35bc1916 (diff)
downloadhaskell-30b08711fd94a2cc001382830b498686dcfcb7d0.tar.gz
Add a "Dynamic by default" field to the ghc --info output
-rw-r--r--compiler/main/DynFlags.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index bbf7b75488..ccaf814dbf 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),