mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-04 06:01:53 -07:00
Merge pull request #57 from xmonad/prof-flag
only turn on -prof -auto-all with profiling flag
This commit is contained in:
@@ -50,6 +50,11 @@ flag generatemanpage
|
|||||||
default: False
|
default: False
|
||||||
manual: True
|
manual: True
|
||||||
|
|
||||||
|
flag profiling
|
||||||
|
description: Enable profiling
|
||||||
|
default: False
|
||||||
|
manual: True
|
||||||
|
|
||||||
library
|
library
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
exposed-modules: XMonad
|
exposed-modules: XMonad
|
||||||
@@ -85,6 +90,7 @@ library
|
|||||||
-- needed for XMonad.Config's instance Default (XConfig a)
|
-- needed for XMonad.Config's instance Default (XConfig a)
|
||||||
|
|
||||||
|
|
||||||
|
if flag(profiling)
|
||||||
ghc-prof-options: -prof -auto-all
|
ghc-prof-options: -prof -auto-all
|
||||||
|
|
||||||
if flag(testing)
|
if flag(testing)
|
||||||
|
Reference in New Issue
Block a user