projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1497e6
)
Only pass --with-hscolour to cabal-bin once
author
Ian Lynagh
<igloo@earth.li>
Thu, 12 Feb 2009 14:10:23 +0000
(14:10 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 12 Feb 2009 14:10:23 +0000
(14:10 +0000)
libraries/Makefile
patch
|
blob
|
history
mk/cabal-flags.mk
patch
|
blob
|
history
diff --git
a/libraries/Makefile
b/libraries/Makefile
index
46e90d9
..
8ccba2c
100644
(file)
--- a/
libraries/Makefile
+++ b/
libraries/Makefile
@@
-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:
diff --git
a/mk/cabal-flags.mk
b/mk/cabal-flags.mk
index
d07244b
..
a581582
100644
(file)
--- a/
mk/cabal-flags.mk
+++ b/
mk/cabal-flags.mk
@@
-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)" ""