diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-25 01:00:48 +0100 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-25 23:26:06 +0100 |
commit | 8e6e022216b19b10841a896ee1a0b08e019a9481 (patch) | |
tree | 8b4241b6f50ac63ce83d46c7e4b0c2bd46ea9099 /testsuite/config/ghc | |
parent | 116528c8429257a0ae855251fd266547bb23d01d (diff) | |
download | haskell-8e6e022216b19b10841a896ee1a0b08e019a9481.tar.gz |
Testsuite: Introduce config.plugin_way_flags.
Refactoring only.
Diffstat (limited to 'testsuite/config/ghc')
-rw-r--r-- | testsuite/config/ghc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index 63488ddde1..31b644a2b4 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -203,18 +203,22 @@ def get_compiler_info(): # GHC < 7.7 doesn't have a "GHC Dynamic" field ghcDynamic = False + # See Note [WayFlags] if ghcDynamic: config.ghc_th_way_flags = "-dynamic" config.ghci_way_flags = "-dynamic" + config.plugin_way_flags = "-dynamic" config.ghc_th_way = "dyn" config.ghc_plugin_way = "dyn" elif config.compiler_profiled: config.ghc_th_way_flags = "-prof" config.ghci_way_flags = "-prof" + config.plugin_way_flags = "-prof" config.ghc_th_way = "prof" config.ghc_plugin_way = "prof" else: config.ghc_th_way_flags = "-static" config.ghci_way_flags = "-static" + config.plugin_way_flags = "-static" config.ghc_th_way = "normal" config.ghc_plugin_way = "normal" |