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:
Peter Simons 2018-07-30 11:03:53 +02:00
parent 969fca9406
commit 19069b3d4b

View File

@ -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