Skip to content
  • Takenobu Tani's avatar
    Add `-haddock` option under ci condition to fix #16415 · c4b501b1
    Takenobu Tani authored and Ben Gamari's avatar Ben Gamari committed
    In order to use the `:doc` command in ghci, it is necessary
    to compile for core libraries with `-haddock` option.
    
    Especially, the `-haddock` option is essential for release building.
    
    Note:
      * The `-haddock` option may affect compile time and binary size.
      * But hadrian has already set `-haddock` as the default.
      * This patch affects the make-based building.
    
    This patch has been split from !532.
    
    (cherry picked from commit 33e37d06)
    c4b501b1