Commit b179ed95 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Only pass --with-hscolour to cabal-bin once

parent a1497e61
......@@ -134,10 +134,6 @@ CONFIGURE_OPTS += --enable-split-objs
CONFIGURE_STAMP_EXTRAS := $(CONFIGURE_STAMP_EXTRAS)-splitting
endif
ifeq "$(HSCOLOUR_SRCS)" "YES"
CONFIGURE_OPTS += --with-hscolour="$(HSCOLOUR)"
endif
.PHONY: subdirs
subdirs:
......
......@@ -29,8 +29,8 @@ COMMON_CONFIGURE_FLAGS = \
--with-ld=$(LD) \
$(addprefix --hsc2hs-option=,$(SRC_HSC2HS_OPTS))
ifneq "$(HSCOLOUR)" ""
COMMON_CONFIGURE_FLAGS += --with-hscolour=$(HSCOLOUR)
ifeq "$(HSCOLOUR_SRCS)" "YES"
CONFIGURE_OPTS += --with-hscolour="$(HSCOLOUR)"
endif
ifneq "$(ALEX)" ""
......
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