summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
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