[commit: testsuite] master: Use -shared for the prof ways (1bad058)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/1bad058c7819199e6e4287d960f5720b3e1ed420

>---------------------------------------------------------------

commit 1bad058c7819199e6e4287d960f5720b3e1ed420
Author: Ian Lynagh <[email protected]>
Date:   Tue Oct 9 20:22:17 2012 +0100

    Use -shared for the prof ways
    
    I'm not sure whether it makes more sense to make this change, or to
    change the build system to build -prof -dynamic libraries. But at least
    this change suffices to make the two match, so the tests don't all fail
    due to missing libraries.

>---------------------------------------------------------------

 config/ghc |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/config/ghc b/config/ghc
index 26ee54c..30e75bf 100644
--- a/config/ghc
+++ b/config/ghc
@@ -78,9 +78,9 @@ config.way_flags = {
     'llvm'         : ['-fllvm'],
     'optllvm'      : ['-O', '-fllvm'],
     'debugllvm'    : ['-fllvm', '-keep-llvm-files'],
-    'prof'         : ['-prof', '-auto-all', '-fasm'],
-    'profasm'      : ['-O', '-prof', '-auto-all'],
-    'profthreaded' : ['-O', '-prof', '-auto-all', '-threaded'],
+    'prof'         : ['-prof', '-static', '-auto-all', '-fasm'],
+    'profasm'      : ['-O', '-prof', '-static', '-auto-all'],
+    'profthreaded' : ['-O', '-prof', '-static', '-auto-all', '-threaded'],
     'ghci'         : ['--interactive', '-v0', '-ignore-dot-ghci', '+RTS', '-I0.1', '-RTS'],
     'extcore'      : ['-fext-core'],
     'optextcore'   : ['-O', '-fext-core'],
@@ -89,17 +89,17 @@ config.way_flags = {
     'threaded2'    : ['-O', '-threaded', '-eventlog'],
     'threaded2_hT' : ['-O', '-threaded'],
     'hpc'          : ['-O', '-fhpc' ],
-    'prof_hc_hb'   : ['-O', '-prof', '-auto-all'],
-    'prof_hb'      : ['-O', '-prof', '-auto-all'],
-    'prof_hd'      : ['-O', '-prof', '-auto-all'],
-    'prof_hy'      : ['-O', '-prof', '-auto-all'],
-    'prof_hr'      : ['-O', '-prof', '-auto-all'],
+    'prof_hc_hb'   : ['-O', '-prof', '-static', '-auto-all'],
+    'prof_hb'      : ['-O', '-prof', '-static', '-auto-all'],
+    'prof_hd'      : ['-O', '-prof', '-static', '-auto-all'],
+    'prof_hy'      : ['-O', '-prof', '-static', '-auto-all'],
+    'prof_hr'      : ['-O', '-prof', '-static', '-auto-all'],
     'dyn'          : ['-O', '-dynamic'],
     'static'       : ['-O', '-static'],
     # llvm variants...
-    'profllvm'         : ['-prof', '-auto-all', '-fllvm'],
-    'profoptllvm'      : ['-O', '-prof', '-auto-all', '-fllvm'],
-    'profthreadedllvm' : ['-O', '-prof', '-auto-all', '-threaded', '-fllvm'],
+    'profllvm'         : ['-prof', '-static', '-auto-all', '-fllvm'],
+    'profoptllvm'      : ['-O', '-prof', '-static', '-auto-all', '-fllvm'],
+    'profthreadedllvm' : ['-O', '-prof', '-static', '-auto-all', '-threaded', '-fllvm'],
     'threaded1llvm'    : ['-threaded', '-debug', '-fllvm'],
     'threaded2llvm'    : ['-O', '-threaded', '-eventlog', '-fllvm'],
     'dynllvm'          : ['-O', '-dynamic', '-fllvm']
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.