Commit 1e0d4411 authored by simonmar's avatar simonmar
Browse files

[project @ 2004-11-23 14:24:53 by simonmar]

This should fix the build for GHC 6.3+
parent 46237e9c
......@@ -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
ifeq "$(ghc_ge_603)" "YES"
SRC_HC_OPTS += -package Cabal
# 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment