From 70f2b5d09de774f214a8737f217a2fc39804caa0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Dec 2013 21:56:20 +0900 Subject: [PATCH] document RTS debugging build option --- ghc.spec | 11 +++++++---- 1 file 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}"