Add a GhcDebugged build setting, for whether GHC is linked with -debug
[ghc-hetmet.git] / compiler / Makefile
index 4023d72..d0c68ab 100644 (file)
@@ -433,6 +433,9 @@ endif
 ifeq "$(GhcProfiled)" "YES"
 SRC_LD_OPTS += -prof
 endif
+ifeq "$(GhcDebugged)" "YES"
+SRC_LD_OPTS += -debug
+endif
 
 ALL_DIRS += ghci