Commit a3bb901f authored by Simon Marlow's avatar Simon Marlow

Add -package array to SRC_HC_OPTS

To make batch linking work now that haskell98 is not automatically linked.
parent d16d063d
......@@ -66,6 +66,13 @@ TOP := $(NOFIB_TOP)
SRC_HC_OPTS += $(NoFibHcOpts) -Rghc-timing
# -package array is needed for GHC 7.0.1 and later, as the haskell98 package
# is no longer linked by default. We would like to use
# -hide-all-packages -package haskell2010
# instead, but there is at least one program that uses a non-haskell2010
# library module (fibheaps uses Control.Monad.ST)
SRC_HC_OPTS += -package array
ifeq "$(WithNofibHc)" ""
HC = $(GHC_TOP)/$(GHC_STAGE2)
MKDEPENDHS := $(GHC_TOP)/$(GHC_STAGE2) # ToDo: wrong, if $(WithNofibHc) isn't GHC.
......
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