Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • hadrian/doc/flavours.md
    ... ... @@ -166,18 +166,6 @@ when compiling the `compiler` library, and `hsGhc` when compiling/linking the GH
    166 166
         <td>-O</td>
    
    167 167
         <td>-O</td>
    
    168 168
       </tr>
    
    169
    -  <tr>
    
    170
    -    <th>static</td>
    
    171
    -    <td></td>
    
    172
    -    <td>-O<br>+RTS<br>-O64M<br>-RTS<br>-fPIC -static</td>
    
    173
    -    <td>-O<br>+RTS<br>-O64M<br>-RTS<br>-fPIC -static</td>
    
    174
    -    <td></td>
    
    175
    -    <td>-O2</td>
    
    176
    -    <td>-O2</td>
    
    177
    -    <td>-O2</td>
    
    178
    -    <td>-O<br>-optl -static</td>
    
    179
    -    <td>-O2<br>-optl -static</td>
    
    180
    -  </tr>
    
    181 169
     </table>
    
    182 170
     
    
    183 171
     ## Flavour transformers
    
    ... ... @@ -335,18 +323,6 @@ The supported transformers are listed below:
    335 323
         </tr>
    
    336 324
     </table>
    
    337 325
     
    
    338
    -### Static
    
    339
    -
    
    340
    -The `static` flavour does not strictly follow the groupings in the table
    
    341
    -above because it links all the executables statically, not just GHC
    
    342
    -itself, and because it passes `-optc -static` when delegating to a C
    
    343
    -compiler.  It also turns off dynamic linking at runtime by by adding the
    
    344
    -`-dynamic-system-linker` cabal flag to the `ghc` package build because
    
    345
    -`musl` doesn't allow dynamic linking in executables that were statically
    
    346
    -linked against `libc`.  Static flags are only added when building in a
    
    347
    -non-dynamic _way_.  Some of the considerations for a static build aren't
    
    348
    -a great fit for the flavour system, so it's a little bit hacky.
    
    349
    -
    
    350 326
     ## Ways
    
    351 327
     
    
    352 328
     Libraries and GHC can be built in different _ways_, e.g. with or without profiling