diff options
Diffstat (limited to 'Presence')
-rw-r--r-- | Presence/main.hs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Presence/main.hs b/Presence/main.hs index 9a09b855..816d1537 100644 --- a/Presence/main.hs +++ b/Presence/main.hs | |||
@@ -15,14 +15,17 @@ import ConfigFiles | |||
15 | import System.INotify | 15 | import System.INotify |
16 | #ifndef NOUTMP | 16 | #ifndef NOUTMP |
17 | import UTmp | 17 | import UTmp |
18 | -- Breaks profiling build with error: | 18 | -- UTmp is inconvenient for the profiling build due to Template Haskell |
19 | -- causing ghc to report: | ||
20 | -- | ||
19 | -- Dynamic linking required, but this is a non-standard build (eg. prof). | 21 | -- Dynamic linking required, but this is a non-standard build (eg. prof). |
20 | -- You need to build the program twice: once the normal way, and then | 22 | -- You need to build the program twice: once the normal way, and then |
21 | -- in the desired way using -osuf to set the object file suffix. | 23 | -- in the desired way using -osuf to set the object file suffix. |
22 | -- | 24 | -- |
23 | -- TODO: Figure out wtf ghc is trying to tell me. | 25 | -- ... so -DNOUTMP was introduced to remove TemplateHaskell from the build. |
24 | -- In the mean time, use -DNOTMP to build for profiling. | 26 | -- However, a full-featured profiling build can be built using the bp |
25 | -- | 27 | -- script which makes a non-profiling binary available during the build in |
28 | -- the manner in which the error message attempted (and failed) to communicate. | ||
26 | #endif | 29 | #endif |
27 | import FGConsole | 30 | import FGConsole |
28 | #ifdef HAXML | 31 | #ifdef HAXML |