diff options
Diffstat (limited to 'testsuite/config')
-rw-r--r-- | testsuite/config/ghc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index 8c8c329c8e..c2f80f8424 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -56,6 +56,9 @@ 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') + if (ghc_with_profiling == 1 and ghc_with_threaded_rts == 1): config.run_ways.append('profthreaded') @@ -90,6 +93,7 @@ config.way_flags = { 'prof_hy' : ['-O', '-prof', '-auto-all'], 'prof_hr' : ['-O', '-prof', '-auto-all'], 'dyn' : ['-O', '-dynamic'], + 'static' : ['-O', '-static'], # llvm variants... 'profllvm' : ['-prof', '-auto-all', '-fllvm'], 'profoptllvm' : ['-O', '-prof', '-auto-all', '-fllvm'], @@ -123,6 +127,7 @@ config.way_rts_flags = { 'prof_hy' : ['-hy'], 'prof_hr' : ['-hr'], 'dyn' : [], + 'static' : [], # llvm variants... 'profllvm' : ['-p'], 'profoptllvm' : ['-hc', '-p'], |