Skip to content
Snippets Groups Projects
Commit 33e37d06 authored by Takenobu Tani's avatar Takenobu Tani Committed by Marge Bot
Browse files

Add `-haddock` option under ci condition to fix #16415

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.
parent 2e297b36
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ cat <<EOF >> mk/build.mk
BuildFlavour=$BUILD_FLAVOUR
ifneq "\$(BuildFlavour)" ""
include mk/flavours/\$(BuildFlavour).mk
GhcLibHcOpts+=-haddock
endif
EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment