X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=e881216d25a5ee8310ed70bc1c08cc7e13eace61;hb=0731082288212fbc6d68204b609f201b8a79149a;hp=4023d72eb24e642f6e525deba35ebac412ea9fea;hpb=26dc0aa6d3a06ee6b948a2827426407c7c8cda97;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index 4023d72..e881216 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -215,6 +215,7 @@ $(CONFIG_HS) : $(FPTOOLS_TOP)/mk/config.mk @echo "cBooterVersion = \"$(GhcVersion)\"" >> $(CONFIG_HS) @echo "cStage = STAGE" >> $(CONFIG_HS) @echo "cHscIfaceFileVersion = \"$(HscIfaceFileVersion)\"" >> $(CONFIG_HS) + @echo "cSplitObjs = \"$(SplitObjs)\"" >> $(CONFIG_HS) @echo "cGhcWithNativeCodeGen = \"$(GhcWithNativeCodeGen)\"" >> $(CONFIG_HS) @echo "cGhcUnregisterised = \"$(GhcUnregisterised)\"" >> $(CONFIG_HS) @echo "cGhcEnableTablesNextToCode = \"$(GhcEnableTablesNextToCode)\"" >> $(CONFIG_HS) @@ -433,6 +434,9 @@ endif ifeq "$(GhcProfiled)" "YES" SRC_LD_OPTS += -prof endif +ifeq "$(GhcDebugged)" "YES" +SRC_LD_OPTS += -debug +endif ALL_DIRS += ghci