summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-04 22:47:19 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-04 22:49:46 +0100
commit319f9ba400e46bb09584ea6d118ff85ea28aac17 (patch)
treeef34aec89ffec2dff81232dbb12d2a6ed41a8e79 /testsuite/config
parentabefa53886c63b7087f5fed73dc8a2997d966606 (diff)
downloadhaskell-319f9ba400e46bb09584ea6d118ff85ea28aac17.tar.gz
Don't use the dyn way if we're dynamic by default
'normal' and 'optasm' are using dynamic libs anyway, so no point having another way for it.
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index c2f80f8424..ee6b493c18 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -52,12 +52,12 @@ if (ghc_with_threaded_rts == 1):
config.have_smp = True
config.run_ways.append('threaded2')
-if (ghc_with_dynamic_rts == 1):
- config.have_shared_libs = True
- config.run_ways.append('dyn')
-
if (ghc_dynamic_by_default == 1):
config.run_ways.append('static')
+else:
+ if (ghc_with_dynamic_rts == 1):
+ config.have_shared_libs = True
+ config.run_ways.append('dyn')
if (ghc_with_profiling == 1 and ghc_with_threaded_rts == 1):
config.run_ways.append('profthreaded')