summaryrefslogtreecommitdiff
path: root/mk/flavours/prof.mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-08-31 14:39:47 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-09-07 11:56:14 +0200
commit2c24fd707f8650205bb574ffac5f376239af3723 (patch)
treea720bb340f29eff28cb91c8db9c6c79c6bd12d23 /mk/flavours/prof.mk
parent062feee4e7408ad5b9d882e5fed2c700e337db72 (diff)
downloadhaskell-2c24fd707f8650205bb574ffac5f376239af3723.tar.gz
Build system: put each BuildFlavour in a separate file (#10223)
This allows easier diffing of different BuildFlavours, including `mk/flavours/validate.mk`. Reviewed By: bgamari, austin Differential Revision: https://phabricator.haskell.org/D1050
Diffstat (limited to 'mk/flavours/prof.mk')
-rw-r--r--mk/flavours/prof.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/mk/flavours/prof.mk b/mk/flavours/prof.mk
new file mode 100644
index 0000000000..553cb120f7
--- /dev/null
+++ b/mk/flavours/prof.mk
@@ -0,0 +1,12 @@
+SRC_HC_OPTS = -O0 -H64m
+GhcStage1HcOpts = -O
+GhcStage2HcOpts = -O
+GhcLibHcOpts = -O
+BUILD_PROF_LIBS = YES
+SplitObjs = NO
+HADDOCK_DOCS = NO
+BUILD_DOCBOOK_HTML = NO
+BUILD_DOCBOOK_PS = NO
+BUILD_DOCBOOK_PDF = NO
+
+GhcProfiled = YES