Commit 9f9f4dfa authored by Ian Lynagh's avatar Ian Lynagh

Make USE_NEW_MKDEPEND_FLAGS=YES if MKDEPENDHS >= GHC 609

parent 8c87902a
......@@ -31,7 +31,8 @@ WAYS=$(NoFibWays)
SRC_HC_OPTS += $(NoFibHcOpts) -Rghc-timing
HC = $(WithNofibHc)
MKDEPENDHS = $(WithNofibHc) # ToDo: wrong, if $(WithNofibHc) isn't GHC.
MKDEPENDHS := $(WithNofibHc) # ToDo: wrong, if $(WithNofibHc) isn't GHC.
USE_NEW_MKDEPEND_FLAGS := $(shell if test `$(MKDEPENDHS) --numeric-version | sed -e "s/\./0/" -e "s/\..*//"` -ge 609; then echo YES; else echo NO; fi)
include $(NOFIB_TOP)/mk/paths.mk
include $(NOFIB_TOP)/mk/opts.mk
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