mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
xmonad.cabal: drop hard-coded profiling mode
Hackage won't accept the package with that "hack" in place. If you want to compile with profiling enabled, please configure the build with --enable-profiling via "cabal" or "stack" or whatever build driver you're using.
This commit is contained in:
parent
969fca9406
commit
19069b3d4b
10
xmonad.cabal
10
xmonad.cabal
@ -52,11 +52,6 @@ flag generatemanpage
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
flag profiling
|
||||
description: Enable profiling
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
exposed-modules: XMonad
|
||||
@ -91,11 +86,6 @@ library
|
||||
if impl(ghc < 7.0.0)
|
||||
extensions: UndecidableInstances
|
||||
-- needed for XMonad.Config's instance Default (XConfig a)
|
||||
|
||||
|
||||
if flag(profiling)
|
||||
ghc-prof-options: -prof -auto-all
|
||||
|
||||
if flag(testing)
|
||||
buildable: False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user