Add gcc and ld flags to --info output
authorIan Lynagh <igloo@earth.li>
Mon, 20 Dec 2010 17:35:20 +0000 (17:35 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 20 Dec 2010 17:35:20 +0000 (17:35 +0000)
compiler/main/DynFlags.hs

index 6167980..7d77fb5 100644 (file)
@@ -2296,6 +2296,8 @@ compilerInfo = [("Project name",                String cProjectName),
                 ("Leading underscore",          String cLeadingUnderscore),
                 ("Debug on",                    String (show debugIsOn)),
                 ("LibDir",                      FromDynFlags topDir),
-                ("Global Package DB",           FromDynFlags systemPackageConfig)
+                ("Global Package DB",           FromDynFlags systemPackageConfig),
+                ("C compiler flags",            String (show cCcOpts)),
+                ("Linker flags",                String (show cLdOpts))
                ]