From 439dcd2dea7321542d9546ec6ac746b47172e88b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 3 Dec 2018 14:05:01 -0800 Subject: [PATCH] web: note hackage warning [ci skip] --- hledger-web/package.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hledger-web/package.yaml b/hledger-web/package.yaml index 7d559f860..d585f4df7 100644 --- a/hledger-web/package.yaml +++ b/hledger-web/package.yaml @@ -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)