Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
1e0d4411
Commit
1e0d4411
authored
Nov 23, 2004
by
simonmar
Browse files
[project @ 2004-11-23 14:24:53 by simonmar]
This should fix the build for GHC 6.3+
parent
46237e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/utils/ghc-pkg/Makefile
View file @
1e0d4411
...
...
@@ -10,6 +10,7 @@ INSTALLING=1
# ghc-pkg.bin
ghc_ge_504
=
$(
shell
if
(
test
$(GhcCanonVersion)
-ge
504
)
;
then
echo
YES
;
else
echo
NO
;
fi
)
ghc_ge_603
=
$(
shell
if
(
test
$(GhcCanonVersion)
-ge
603
)
;
then
echo
YES
;
else
echo
NO
;
fi
)
SRC_HC_OPTS
+=
-cpp
-Wall
-fno-warn-name-shadowing
-fno-warn-unused-matches
...
...
@@ -25,6 +26,10 @@ ifeq "$(ghc_ge_504)" "NO"
SRC_HC_OPTS
+=
-package
lang
-package
util
-package
text
endif
ifeq
"$(ghc_ge_603)" "YES"
SRC_HC_OPTS
+=
-package
Cabal
endif
# On Windows, ghc-pkg is a standalone program
# ($bindir/ghc-pkg.exe), whereas on Unix it needs a wrapper script
# to pass the appropriate flag to the real binary
...
...
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