CONFIGURE_FLAGS_STAGE1 += --flags=stage1
CONFIGURE_FLAGS_STAGE2 += --flags=-stage1
-CONFIGURE_FLAGS_STAGE1 += --flags=-ghci
-
ifeq "$(GhcWithNativeCodeGen)" "YES"
CONFIGURE_FLAGS_STAGE1 += --flags=ncg
CONFIGURE_FLAGS_STAGE2 += --flags=ncg
-else
-CONFIGURE_FLAGS_STAGE1 += --flags=-ncg
-CONFIGURE_FLAGS_STAGE2 += --flags=-ncg
endif
ifeq "$(GhcWithInterpreter)" "YES"
# function which sets the keepCAFs flag for the RTS before any Haskell
# code is run.
CONFIGURE_FLAGS_STAGE2 += --flags=dynlibs
-else
-CONFIGURE_FLAGS_STAGE2 += --flags=-dynlibs
endif
ifeq "$(GhcEnableTablesNextToCode) $(GhcUnregisterised)" "YES NO"
CONFIGURE_FLAGS_STAGE2 += --flags=editline
endif
endif
-
-else
-CONFIGURE_FLAGS_STAGE2 += --flags=-ghci
endif
ifeq "$(GhcWithNativeCodeGen)" "NO"
Flag dynlibs
Description: Dynamic library support
+ Default: False
+ Manual: True
Flag editline
Description: Use editline
Flag ghci
Description: Build GHCi support.
+ Default: False
+ Manual: True
Flag ncg
Description: Build the NCG.
+ Default: False
+ Manual: True
Flag stage1
Description: Is this stage 1?