CABAL: enable threading and -N

This commit is contained in:
Julian Ospald 2015-12-22 14:16:17 +01:00
parent 2486d83260
commit dd07a31d35
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -42,6 +42,8 @@ library
Default-Extensions: RecordWildCards Default-Extensions: RecordWildCards
ghc-options: ghc-options:
-O2 -O2
-threaded
"-with-rtsopts=-N"
executable hsfm-gtk executable hsfm-gtk
main-is: GUI/Gtk.hs main-is: GUI/Gtk.hs
@ -52,6 +54,7 @@ executable hsfm-gtk
GUI.Gtk.Icons GUI.Gtk.Icons
GUI.Gtk.Utils GUI.Gtk.Utils
MyPrelude MyPrelude
build-depends: hsfm, build-depends: hsfm,
base >= 4.7, base >= 4.7,
containers, containers,
@ -74,3 +77,5 @@ executable hsfm-gtk
Default-Extensions: RecordWildCards Default-Extensions: RecordWildCards
ghc-options: ghc-options:
-O2 -O2
-threaded
"-with-rtsopts=-N"