Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
84d527bb
Commit
84d527bb
authored
Oct 26, 2012
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the GhcLibWays sanity checking
parent
26b2caf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
ghc.mk
ghc.mk
+8
-2
No files found.
ghc.mk
View file @
84d527bb
...
...
@@ -129,8 +129,14 @@ include mk/ways.mk
include
mk/custom-settings.mk
ifeq
"$(findstring clean,$(MAKECMDGOALS))" ""
ifeq
"$(GhcLibWays)" ""
$(error
$$(GhcLibWays)
is
empty,
it
must
contain
at
least
one
way)
ifeq
"$(DYNAMIC_BY_DEFAULT)" "YES"
ifeq
"$(findstring dyn,$(GhcLibWays))" ""
$(error
dyn
is
not
in
$$(GhcLibWays),
but
$$(DYNAMIC_BY_DEFAULT)
is
YES)
endif
else
ifeq
"$(findstring v,$(GhcLibWays))" ""
$(error
v
is
not
in
$$(GhcLibWays),
and
$$(DYNAMIC_BY_DEFAULT)
is
not
YES)
endif
endif
endif
...
...
Write
Preview
Markdown
is supported
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