summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-31 15:21:03 +0000
committerIan Lynagh <igloo@earth.li>2008-08-31 15:21:03 +0000
commit19f903bc5210e0cccfafbebdc46ed6e1743991ba (patch)
tree20885cecebb0dcc2f8b2a392c6a41e3617d6cce1 /compiler/Makefile
parenta999a72ed635ca95806b4fe3e15fa2b1a6fea967 (diff)
downloadhaskell-19f903bc5210e0cccfafbebdc46ed6e1743991ba.tar.gz
Make ghc.cabal's editline flag manual, to simplify the Makefile
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 3b184ee5c1..275de627be 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -122,15 +122,9 @@ endif
# But we don't enable editline on Windows, as Windows terminals have
# editline-like support builtin.
#
-ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-CONFIGURE_FLAGS_STAGE1 += --flags=-editline
-CONFIGURE_FLAGS_STAGE2 += --flags=-editline
-else
-CONFIGURE_FLAGS_STAGE1 += --flags=-editline
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
ifeq "$(wildcard $(FPTOOLS_TOP_ABS)/libraries/editline/unbuildable)" ""
CONFIGURE_FLAGS_STAGE2 += --flags=editline
-else
-CONFIGURE_FLAGS_STAGE2 += --flags=-editline
endif
endif