summaryrefslogtreecommitdiff
path: root/compiler/main/DynFlags.hs
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-03-26 23:48:47 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-08 15:53:40 -0400
commit93f34bbd3319544d8eb3a5e2593bccb9b12e3459 (patch)
tree4cd60b1595e767398f3b0fb17585f08918d1119a /compiler/main/DynFlags.hs
parent4c86187ccd49309c1d6b32d05b164822a803d3e2 (diff)
downloadhaskell-93f34bbd3319544d8eb3a5e2593bccb9b12e3459.tar.gz
Purge TargetPlatform_NAME and cTargetPlatformString
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r--compiler/main/DynFlags.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 1a62d9b15f..ece0c2208e 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -1357,6 +1357,7 @@ data Settings = Settings {
sPlatformConstants :: PlatformConstants,
-- Formerly Config.hs, target specific
+ sTargetPlatformString :: String, -- TODO Recalculate string from richer info?
sTablesNextToCode :: Bool
}
@@ -5621,7 +5622,7 @@ compilerInfo dflags
("Stage", cStage),
("Build platform", cBuildPlatformString),
("Host platform", cHostPlatformString),
- ("Target platform", cTargetPlatformString),
+ ("Target platform", sTargetPlatformString $ settings dflags),
("Have interpreter", cGhcWithInterpreter),
("Object splitting supported", showBool False),
("Have native code generator", cGhcWithNativeCodeGen),