Commit 30b08711 authored by's avatar
Browse files

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

parent a6b0ab26
...@@ -3097,6 +3097,8 @@ compilerInfo dflags ...@@ -3097,6 +3097,8 @@ compilerInfo dflags
("Support SMP", cGhcWithSMP), ("Support SMP", cGhcWithSMP),
("Tables next to code", cGhcEnableTablesNextToCode), ("Tables next to code", cGhcEnableTablesNextToCode),
("RTS ways", cGhcRTSWays), ("RTS ways", cGhcRTSWays),
("Dynamic by default", if dYNAMIC_BY_DEFAULT dflags
then "YES" else "NO"),
("Leading underscore", cLeadingUnderscore), ("Leading underscore", cLeadingUnderscore),
("Debug on", show debugIsOn), ("Debug on", show debugIsOn),
("LibDir", topDir dflags), ("LibDir", topDir dflags),
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