Don't build ghc in stage1 with editline (since we already don't build ghci). Fixes...
authorJudah Jacobson <judah.jacobson@gmail.com>
Sat, 30 Aug 2008 21:14:29 +0000 (21:14 +0000)
committerJudah Jacobson <judah.jacobson@gmail.com>
Sat, 30 Aug 2008 21:14:29 +0000 (21:14 +0000)
compiler/Makefile

index 03f9c1e..3b184ee 100644 (file)
@@ -116,8 +116,7 @@ ifeq "$(GhciWithDebugger)" "YES"
 CONFIGURE_FLAGS_STAGE2 += --ghc-option=-DDEBUGGER
 endif
 
-# Enable editline if either:
-#   - we're building stage 1 and $(GhcHasEditline)="YES"
+# Enable editline if:
 #   - we're building stage 2/3, and we have built the editline package
 #
 # But we don't enable editline on Windows, as Windows terminals have
@@ -127,11 +126,7 @@ ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 CONFIGURE_FLAGS_STAGE1 += --flags=-editline
 CONFIGURE_FLAGS_STAGE2 += --flags=-editline
 else
-ifeq "$(GhcHasEditline)" "YES"
-CONFIGURE_FLAGS_STAGE1 += --flags=editline
-else
 CONFIGURE_FLAGS_STAGE1 += --flags=-editline
-endif
 ifeq "$(wildcard $(FPTOOLS_TOP_ABS)/libraries/editline/unbuildable)" ""
 CONFIGURE_FLAGS_STAGE2 += --flags=editline
 else