web: note hackage warning

[ci skip]
This commit is contained in:
Simon Michael 2018-12-03 14:05:01 -08:00
parent 1e8e97f63c
commit 439dcd2dea

View File

@ -65,6 +65,9 @@ ghc-options:
when:
- condition: (flag(dev)) || (flag(library-only))
cpp-options: -DDEVELOPMENT
# This causes a warning when uploading to hackage:
#Package check reported the following warnings:
# 'ghc-options: -O0' is not needed. Use the --disable-optimization configure flag.
- condition: flag(dev)
ghc-options: -O0
- condition: impl(ghc >=8)