Commit c5b41b6e authored by Ian Lynagh's avatar Ian Lynagh

Add a GhcDebugged build setting, for whether GHC is linked with -debug

parent b2445ac5
......@@ -433,6 +433,9 @@ endif
ifeq "$(GhcProfiled)" "YES"
SRC_LD_OPTS += -prof
endif
ifeq "$(GhcDebugged)" "YES"
SRC_LD_OPTS += -debug
endif
ALL_DIRS += ghci
......
......@@ -45,6 +45,9 @@ endif
ifeq "$(GhcProfiled)" "YES"
SRC_HC_OPTS += -prof
endif
ifeq "$(GhcDebugged)" "YES"
SRC_LD_OPTS += -debug
endif
odir=stage$(stage)
......
......@@ -224,6 +224,7 @@ else
GhcThreaded=NO
endif
GhcProfiled=NO
GhcDebugged=NO
# Build a compiler that will build *unregisterised* libraries and
# binaries by default. Unregisterised code is supposed to compile and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment