summaryrefslogtreecommitdiff
path: root/mk/build.mk.sample
diff options
context:
space:
mode:
Diffstat (limited to 'mk/build.mk.sample')
-rw-r--r--mk/build.mk.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 4175dc7cf2..6bceca3de1 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -79,6 +79,13 @@ endif
# working on stage 2 and want to freeze stage 1 and the libraries for
# a while.
+# Enable these if you would like DWARF debugging symbols for your libraries.
+# This is necessary, for instance, to get DWARF stack traces out of programs
+# built by the produced compiler. You must also pass --enable-dwarf-unwind to
+# `configure` to enable the runtime system's builtin unwinding support.
+#GhcLibHcOpts += -g3
+#GhcRtsHcOpts += -g3
+
# Build the "extra" packages (see ./packages). This enables more tests. See:
# https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages
#BUILD_EXTRA_PKGS=YES