Add releavant flag in yesod-bin
This commit is contained in:
parent
37c9d25990
commit
35e0095590
@ -18,11 +18,17 @@ extra-source-files:
|
|||||||
refreshing.html
|
refreshing.html
|
||||||
*.pem
|
*.pem
|
||||||
|
|
||||||
|
flag debug
|
||||||
|
default: False
|
||||||
|
description: Print debugging info.
|
||||||
|
|
||||||
executable yesod
|
executable yesod
|
||||||
if os(windows)
|
if os(windows)
|
||||||
cpp-options: -DWINDOWS
|
cpp-options: -DWINDOWS
|
||||||
if os(openbsd)
|
if os(openbsd)
|
||||||
ld-options: -Wl,-zwxneeded
|
ld-options: -Wl,-zwxneeded
|
||||||
|
if flag(debug)
|
||||||
|
cpp-options: -DDEBUG
|
||||||
|
|
||||||
build-depends: base >= 4.3 && < 5
|
build-depends: base >= 4.3 && < 5
|
||||||
, parsec >= 2.1 && < 4
|
, parsec >= 2.1 && < 4
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user