mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 20:51:55 -07:00
Use -Wno-* instead of the obsolete -fno-warn-*
This commit is contained in:
@@ -80,7 +80,7 @@ library
|
|||||||
, transformers >= 0.3
|
, transformers >= 0.3
|
||||||
, unix
|
, unix
|
||||||
, utf8-string >= 0.3 && < 1.1
|
, utf8-string >= 0.3 && < 1.1
|
||||||
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind
|
ghc-options: -funbox-strict-fields -Wall -Wno-unused-do-bind
|
||||||
|
|
||||||
-- Keep this in sync with the oldest version in 'tested-with'
|
-- Keep this in sync with the oldest version in 'tested-with'
|
||||||
if impl(ghc > 8.4.4)
|
if impl(ghc > 8.4.4)
|
||||||
@@ -92,7 +92,7 @@ library
|
|||||||
executable xmonad
|
executable xmonad
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
build-depends: base, X11, mtl, unix, xmonad
|
build-depends: base, X11, mtl, unix, xmonad
|
||||||
ghc-options: -Wall -fno-warn-unused-do-bind
|
ghc-options: -Wall -Wno-unused-do-bind
|
||||||
|
|
||||||
-- Keep this in sync with the oldest version in 'tested-with'
|
-- Keep this in sync with the oldest version in 'tested-with'
|
||||||
if impl(ghc > 8.4.4)
|
if impl(ghc > 8.4.4)
|
||||||
|
Reference in New Issue
Block a user