summaryrefslogtreecommitdiff
path: root/utils/runghc/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-10-06 16:06:56 +0000
committerIan Lynagh <igloo@earth.li>2010-10-06 16:06:56 +0000
commit04d3b8d7ad637c6e5b8b8004a0555c4f1ead83dc (patch)
treebbabb0fc09d196d945d1c871419018ecae711af7 /utils/runghc/ghc.mk
parent5e54b553bbb112167412ee9164135d56b06f5721 (diff)
downloadhaskell-04d3b8d7ad637c6e5b8b8004a0555c4f1ead83dc.tar.gz
Fix build following haskell98 and -fglasgow-exts changes
Diffstat (limited to 'utils/runghc/ghc.mk')
-rw-r--r--utils/runghc/ghc.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk
index a70e38a03b..26c3b31228 100644
--- a/utils/runghc/ghc.mk
+++ b/utils/runghc/ghc.mk
@@ -10,11 +10,12 @@
#
# -----------------------------------------------------------------------------
-utils/runghc_dist_MODULES = Main
-utils/runghc_dist_HC_OPTS = -cpp -DVERSION="\"$(ProjectVersion)\""
+utils/runghc_PACKAGE = runghc
+utils/runghc_dist_USES_CABAL = YES
utils/runghc_dist_PROG = runghc$(exeext)
utils/runghc_dist_SHELL_WRAPPER = YES
utils/runghc_dist_INSTALL_SHELL_WRAPPER = YES
+utils/runghc_dist_EXTRA_HC_OPTS = -cpp -DVERSION="\"$(ProjectVersion)\""
ifneq "$(BINDIST)" "YES"
# hack: the build system has trouble with Main modules not called Main.hs