diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-31 15:21:03 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-31 15:21:03 +0000 |
commit | 19f903bc5210e0cccfafbebdc46ed6e1743991ba (patch) | |
tree | 20885cecebb0dcc2f8b2a392c6a41e3617d6cce1 /compiler/Makefile | |
parent | a999a72ed635ca95806b4fe3e15fa2b1a6fea967 (diff) | |
download | haskell-19f903bc5210e0cccfafbebdc46ed6e1743991ba.tar.gz |
Make ghc.cabal's editline flag manual, to simplify the Makefile
Diffstat (limited to 'compiler/Makefile')
-rw-r--r-- | compiler/Makefile | 8 |
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 |