[ghc] document RTS debugging build option
Jens Petersen
petersen at fedoraproject.org
Sun Dec 22 12:56:38 UTC 2013
commit 70f2b5d09de774f214a8737f217a2fc39804caa0
Author: Jens Petersen <petersen at redhat.com>
Date: Sun Dec 22 21:56:20 2013 +0900
document RTS debugging build option
ghc.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/ghc.spec b/ghc.spec
index 5dae9fc..7e8aa41 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -4,11 +4,11 @@
# To bootstrap build a new version of ghc, uncomment the following:
#%%global ghc_bootstrapping 1
#%%global without_testsuite 1
-# either:
+### either:
#%%{?ghc_bootstrap}
-# or for shared libs:
+### or for shared libs:
#%%{?ghc_test}
-# uncomment to generate haddocks for bootstrap
+### uncomment to generate haddocks for bootstrap
#%%undefine without_haddock
# unregisterized archs
@@ -269,8 +269,11 @@ HADDOCK_DOCS = NO
%if %{defined without_manual}
BUILD_DOCBOOK_HTML = NO
%endif
-# for verbose build output
+## for verbose build output
#GhcStage1HcOpts=-v4
+## enable RTS debugging:
+## (http://ghc.haskell.org/trac/ghc/wiki/Debugging/RuntimeSystem)
+#EXTRA_HC_OPTS=-debug
EOF
export CFLAGS="${CFLAGS:-%optflags}"
More information about the scm-commits
mailing list