Skip to content
Snippets Groups Projects
Commit b17d3534 authored by Cheng Shao's avatar Cheng Shao
Browse files

testsuite: make use of config.interp_force_dyn

This commit takes config.interp_force_dyn into consideration when
setting up TH/ghci way flags.

(cherry picked from commit 93b8af80)
parent 89b82674
No related branches found
No related tags found
No related merge requests found
...@@ -282,7 +282,7 @@ def get_compiler_info(): ...@@ -282,7 +282,7 @@ def get_compiler_info():
ghc_env['HAVE_PROFILING'] = 'YES' ghc_env['HAVE_PROFILING'] = 'YES'
# See Note [WayFlags] # See Note [WayFlags]
if config.ghc_dynamic: if config.interp_force_dyn or config.ghc_dynamic:
config.ghc_th_way_flags = "-dynamic" config.ghc_th_way_flags = "-dynamic"
config.ghci_way_flags = "-dynamic" config.ghci_way_flags = "-dynamic"
config.plugin_way_flags = "-dynamic" config.plugin_way_flags = "-dynamic"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment