Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c7ad7938
Commit
c7ad7938
authored
Sep 16, 2008
by
Ian Lynagh
Browse files
Use the new -optdep flag replacements when building with >= GHC 6.9
Fix building the HEAD with itself
parent
704bbd54
Changes
1
Hide whitespace changes
Inline
Side-by-side
mk/config.mk.in
View file @
c7ad7938
...
...
@@ -922,6 +922,7 @@ ifneq "$(findstring YES, $(UseStage1) $(BootingFromHc))" ""
# some variables appropriately:
HC
=
$(GHC_STAGE1)
MKDEPENDHS
=
$(GHC_STAGE1)
USE_NEW_MKDEPEND_FLAGS
=
YES
GhcVersion
=
@ProjectVersion@
GhcPatchLevel
=
@ProjectPatchLevel@
# oops, these are wrong:
...
...
@@ -934,8 +935,14 @@ ghc_ge_609 = YES
else
# not UseStage1 or BootingFromHc
# Some useful GHC version predicates:
ghc_ge_605
=
@ghc_ge_605@
ghc_ge_607
=
@ghc_ge_607@
ghc_ge_609
=
@ghc_ge_609@
HC
=
@WithHc@
MKDEPENDHS
=
$(GHC)
USE_NEW_MKDEPEND_FLAGS
=
$(ghc_ge_609)
GhcVersion
=
@GhcVersion@
GhcPatchLevel
=
@GhcPatchLevel@
GhcMajVersion
=
@GhcMajVersion@
...
...
@@ -951,11 +958,6 @@ GhcMinVersion = @GhcMinVersion@
#
BOOTSTRAPPING_PACKAGE_CONF_HC_OPTS
=
$(
if
$(
findstring
inplace,
$(HC)
)
,,-package-conf
$(BOOTSTRAPPING_CONF)
)
BOOTSTRAPPING_PACKAGE_CONF_MKDEPENDHS_OPTS
=
$(
if
$(
findstring
inplace,
$(MKDEPENDHS)
)
,,-package-conf
$(BOOTSTRAPPING_CONF)
)
# Some useful GHC version predicates:
ghc_ge_605
=
@ghc_ge_605@
ghc_ge_607
=
@ghc_ge_607@
ghc_ge_609
=
@ghc_ge_609@
endif
# Canonicalised ghc version number, used for easy (integer) version
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment