From dfea39907cd114e6d8aea29ae3835dd323ca4df8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 27 Nov 2020 14:28:16 +0100 Subject: [PATCH] fix: non-dev build --- src/Foundation/I18n.hs | 2 ++ src/Foundation/Yesod/Middleware.hs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Foundation/I18n.hs b/src/Foundation/I18n.hs index 079a02fb8..b1188a4c8 100644 --- a/src/Foundation/I18n.hs +++ b/src/Foundation/I18n.hs @@ -1,5 +1,7 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -O0 -fasm #-} + module Foundation.I18n ( appLanguages, appLanguagesOpts , UniWorXMessage(..) diff --git a/src/Foundation/Yesod/Middleware.hs b/src/Foundation/Yesod/Middleware.hs index c392a9245..a95473ad7 100644 --- a/src/Foundation/Yesod/Middleware.hs +++ b/src/Foundation/Yesod/Middleware.hs @@ -1,3 +1,5 @@ +{-# OPTIONS_GHC -O0 -fasm #-} + module Foundation.Yesod.Middleware ( yesodMiddleware , updateFavourites