From 61de79e2d7dc6414095425de85dce6af35beb17c Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Sat, 30 Mar 2024 01:29:01 +0000 Subject: [PATCH] O2 --- package.yaml | 1 + simplex-chat.cabal | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.yaml b/package.yaml index e9f2bc28c7..e49c0deff0 100644 --- a/package.yaml +++ b/package.yaml @@ -74,6 +74,7 @@ when: library: source-dirs: src + ghc-options: -O2 executables: simplex-chat: diff --git a/simplex-chat.cabal b/simplex-chat.cabal index 27aab2be9f..9acf570213 100644 --- a/simplex-chat.cabal +++ b/simplex-chat.cabal @@ -181,7 +181,7 @@ library Paths_simplex_chat hs-source-dirs: src - ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns + ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns -O2 build-depends: aeson ==2.2.* , ansi-terminal >=0.10 && <0.12