document RTS debugging build option
This commit is contained in:
parent
6ee0cad912
commit
70f2b5d09d
11
ghc.spec
11
ghc.spec
@ -4,11 +4,11 @@
|
|||||||
# To bootstrap build a new version of ghc, uncomment the following:
|
# To bootstrap build a new version of ghc, uncomment the following:
|
||||||
#%%global ghc_bootstrapping 1
|
#%%global ghc_bootstrapping 1
|
||||||
#%%global without_testsuite 1
|
#%%global without_testsuite 1
|
||||||
# either:
|
### either:
|
||||||
#%%{?ghc_bootstrap}
|
#%%{?ghc_bootstrap}
|
||||||
# or for shared libs:
|
### or for shared libs:
|
||||||
#%%{?ghc_test}
|
#%%{?ghc_test}
|
||||||
# uncomment to generate haddocks for bootstrap
|
### uncomment to generate haddocks for bootstrap
|
||||||
#%%undefine without_haddock
|
#%%undefine without_haddock
|
||||||
|
|
||||||
# unregisterized archs
|
# unregisterized archs
|
||||||
@ -269,8 +269,11 @@ HADDOCK_DOCS = NO
|
|||||||
%if %{defined without_manual}
|
%if %{defined without_manual}
|
||||||
BUILD_DOCBOOK_HTML = NO
|
BUILD_DOCBOOK_HTML = NO
|
||||||
%endif
|
%endif
|
||||||
# for verbose build output
|
## for verbose build output
|
||||||
#GhcStage1HcOpts=-v4
|
#GhcStage1HcOpts=-v4
|
||||||
|
## enable RTS debugging:
|
||||||
|
## (http://ghc.haskell.org/trac/ghc/wiki/Debugging/RuntimeSystem)
|
||||||
|
#EXTRA_HC_OPTS=-debug
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
export CFLAGS="${CFLAGS:-%optflags}"
|
export CFLAGS="${CFLAGS:-%optflags}"
|
||||||
|
Loading…
Reference in New Issue
Block a user