Skip to content

Commit

Permalink
Add an unregisterised config to build.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
David Terei committed Jul 20, 2011
1 parent b61ad3e commit 8cef78c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions mk/build.mk.sample
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
# A development build, working on the stage 2 compiler:
#BuildFlavour = devel2

# An unregisterised, optimised build of ghc, for porting:
#BuildFlavour = unreg

GhcLibWays = v

# -------- 1. A Performance/Distribution build--------------------------------
Expand Down Expand Up @@ -133,6 +136,26 @@ BUILD_DOCBOOK_PDF = NO

endif

# -------- A Unregisterised build) -------------------------------------------

ifeq "$(BuildFlavour)" "unreg"

GhcUnregisterised = YES
GhcWithNativeCodeGen = NO

SRC_HC_OPTS = -O -H64m
GhcStage1HcOpts = -O
GhcStage2HcOpts = -O2
GhcHcOpts = -Rghc-timing
GhcLibHcOpts = -O2
SplitObjs = NO
HADDOCK_DOCS = NO
BUILD_DOCBOOK_HTML = NO
BUILD_DOCBOOK_PS = NO
BUILD_DOCBOOK_PDF = NO

endif

# -----------------------------------------------------------------------------
# Other settings that might be useful

Expand Down

0 comments on commit 8cef78c

Please sign in to comment.